summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/alpha/alpha/genassym.c4
-rw-r--r--sys/powerpc/powerpc/genassym.c4
2 files changed, 2 insertions, 6 deletions
diff --git a/sys/alpha/alpha/genassym.c b/sys/alpha/alpha/genassym.c
index 5e59a54..b43c5e6 100644
--- a/sys/alpha/alpha/genassym.c
+++ b/sys/alpha/alpha/genassym.c
@@ -38,6 +38,7 @@
*/
#include <sys/param.h>
+#include <sys/systm.h>
#include <sys/proc.h>
#include <sys/buf.h>
#include <sys/errno.h>
@@ -53,9 +54,7 @@
#include <vm/vm_param.h>
#include <vm/pmap.h>
#include <vm/vm_map.h>
-#define _KERNEL /* Avoid userland compatability headers */
#include <sys/user.h>
-#undef _KERNEL
#include <net/if.h>
#include <netinet/in.h>
#include <nfs/nfsv2.h>
@@ -64,7 +63,6 @@
#include <nfs/nfsdiskless.h>
int main __P((void));
-int printf __P((const char *, ...));
#define BIG(val) ((val) > 999LL || (val) < -999LL)
diff --git a/sys/powerpc/powerpc/genassym.c b/sys/powerpc/powerpc/genassym.c
index 5e59a54..b43c5e6 100644
--- a/sys/powerpc/powerpc/genassym.c
+++ b/sys/powerpc/powerpc/genassym.c
@@ -38,6 +38,7 @@
*/
#include <sys/param.h>
+#include <sys/systm.h>
#include <sys/proc.h>
#include <sys/buf.h>
#include <sys/errno.h>
@@ -53,9 +54,7 @@
#include <vm/vm_param.h>
#include <vm/pmap.h>
#include <vm/vm_map.h>
-#define _KERNEL /* Avoid userland compatability headers */
#include <sys/user.h>
-#undef _KERNEL
#include <net/if.h>
#include <netinet/in.h>
#include <nfs/nfsv2.h>
@@ -64,7 +63,6 @@
#include <nfs/nfsdiskless.h>
int main __P((void));
-int printf __P((const char *, ...));
#define BIG(val) ((val) > 999LL || (val) < -999LL)
OpenPOWER on IntegriCloud