aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/kern_module.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/kern_module.c')
-rw-r--r--sys/kern/kern_module.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kern/kern_module.c b/sys/kern/kern_module.c
index 6912030dde5e..f6568c0b3d67 100644
--- a/sys/kern/kern_module.c
+++ b/sys/kern/kern_module.c
@@ -415,6 +415,7 @@ modfind(struct thread *td, struct modfind_args *uap)
#ifdef COMPAT_IA32
#include <sys/mount.h>
+#include <sys/socket.h>
#include <compat/freebsd32/freebsd32_util.h>
#include <compat/freebsd32/freebsd32.h>
#include <compat/freebsd32/freebsd32_proto.h>