Include sys/sysctl.h on all architectures not only i386.

This commit is contained in:
Hartmut Brandt 2004-11-25 12:50:16 +00:00
parent 1b52747b5f
commit ad67400c29
2 changed files with 1 additions and 2 deletions

View File

@ -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\"

View File

@ -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