diff options
author | harti <harti@FreeBSD.org> | 2004-11-25 12:50:16 +0000 |
---|---|---|
committer | harti <harti@FreeBSD.org> | 2004-11-25 12:50:16 +0000 |
commit | 789172da506cb3a782cfb16c7d4bca47e2345fe8 (patch) | |
tree | 3afb82e17752d389fc1c2cc3b5218ca2ed54be99 /usr.bin | |
parent | 22a987d0c101fab656aaae689154f6e436a2f123 (diff) | |
download | FreeBSD-src-789172da506cb3a782cfb16c7d4bca47e2345fe8.zip FreeBSD-src-789172da506cb3a782cfb16c7d4bca47e2345fe8.tar.gz |
Include sys/sysctl.h on all architectures not only i386.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/make/Makefile | 1 | ||||
-rw-r--r-- | usr.bin/make/main.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/make/Makefile b/usr.bin/make/Makefile index cbab3c1..bb67818 100644 --- a/usr.bin/make/Makefile +++ b/usr.bin/make/Makefile @@ -13,6 +13,7 @@ SRCS+= lstAppend.c lstAtEnd.c lstAtFront.c lstClose.c lstConcat.c \ lstMember.c lstNext.c lstOpen.c lstRemove.c lstReplace.c lstSucc.c .PATH: ${.CURDIR}/lst.lib +WARNS?= 3 NOSHARED?= YES CFLAGS+=-DMAKE_VERSION=\"5200408120\" diff --git a/usr.bin/make/main.c b/usr.bin/make/main.c index b13bd03..32e7fea 100644 --- a/usr.bin/make/main.c +++ b/usr.bin/make/main.c @@ -63,9 +63,7 @@ __FBSDID("$FreeBSD$"); #include <sys/param.h> #include <sys/signal.h> #include <sys/stat.h> -#if defined(__i386__) #include <sys/sysctl.h> -#endif #include <sys/time.h> #include <sys/resource.h> #ifndef MACHINE |