summaryrefslogtreecommitdiffstats
path: root/usr.bin/make
diff options
context:
space:
mode:
authorharti <harti@FreeBSD.org>2004-11-25 12:50:16 +0000
committerharti <harti@FreeBSD.org>2004-11-25 12:50:16 +0000
commit789172da506cb3a782cfb16c7d4bca47e2345fe8 (patch)
tree3afb82e17752d389fc1c2cc3b5218ca2ed54be99 /usr.bin/make
parent22a987d0c101fab656aaae689154f6e436a2f123 (diff)
downloadFreeBSD-src-789172da506cb3a782cfb16c7d4bca47e2345fe8.zip
FreeBSD-src-789172da506cb3a782cfb16c7d4bca47e2345fe8.tar.gz
Include sys/sysctl.h on all architectures not only i386.
Diffstat (limited to 'usr.bin/make')
-rw-r--r--usr.bin/make/Makefile1
-rw-r--r--usr.bin/make/main.c2
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
OpenPOWER on IntegriCloud