diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c index 5c6e9910aa03..f95255aa5025 100644 --- a/sys/kern/init_sysent.c +++ b/sys/kern/init_sysent.c @@ -5,11 +5,12 @@ * created from Id: syscalls.master,v 1.44 1997/10/26 20:27:51 phk Exp */ +#include "opt_compat.h" + #include #include #include -#include "opt_compat.h" #ifdef COMPAT_43 #define compat(n, name) n, (sy_call_t *)__CONCAT(o,name) #else diff --git a/sys/sys/sysproto.h b/sys/sys/sysproto.h index 14fc1d538c50..7f89cb8d157e 100644 --- a/sys/sys/sysproto.h +++ b/sys/sys/sysproto.h @@ -1041,7 +1041,6 @@ int mlockall __P((struct proc *, struct mlockall_args *)); int munlockall __P((struct proc *, struct munlockall_args *)); int __getcwd __P((struct proc *, struct __getcwd_args *)); -#include "opt_compat.h" #ifdef COMPAT_43 struct ocreat_args {