diff --git a/sys/compat/svr4/svr4_ipc.c b/sys/compat/svr4/svr4_ipc.c index 9904bff49549..0b6acbf5a073 100644 --- a/sys/compat/svr4/svr4_ipc.c +++ b/sys/compat/svr4/svr4_ipc.c @@ -385,6 +385,8 @@ svr4_sys_semsys(td, uap) return EINVAL; } } + +MODULE_DEPEND(svr4elf, sysvsem, 1, 1, 1); #endif #ifdef SYSVMSG @@ -579,6 +581,8 @@ svr4_sys_msgsys(td, uap) return EINVAL; } } + +MODULE_DEPEND(svr4elf, sysvmsg, 1, 1, 1); #endif #ifdef SYSVSHM @@ -788,4 +792,6 @@ svr4_sys_shmsys(td, uap) return ENOSYS; } } + +MODULE_DEPEND(svr4elf, sysvshm, 1, 1, 1); #endif /* SYSVSHM */ diff --git a/sys/i386/ibcs2/ibcs2_ipc.c b/sys/i386/ibcs2/ibcs2_ipc.c index cdf44f1d246a..5ba7e4930589 100644 --- a/sys/i386/ibcs2/ibcs2_ipc.c +++ b/sys/i386/ibcs2/ibcs2_ipc.c @@ -405,3 +405,7 @@ ibcs2_shmsys(td, uap) } return EINVAL; } + +MODULE_DEPEND(ibcs2, sysvmsg, 1, 1, 1); +MODULE_DEPEND(ibcs2, sysvsem, 1, 1, 1); +MODULE_DEPEND(ibcs2, sysvshm, 1, 1, 1);