diff options
author | wollman <wollman@FreeBSD.org> | 2002-10-27 17:44:33 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 2002-10-27 17:44:33 +0000 |
commit | f8a79b86e60824348bdbf59e8b89a05c7daaf6d2 (patch) | |
tree | c515d191c45e241621123bbd9bbb4eb3a4ca7a1a | |
parent | e11ca3bf1ae8049b0bb5da0682f7cfc7969e3794 (diff) | |
download | FreeBSD-src-f8a79b86e60824348bdbf59e8b89a05c7daaf6d2.zip FreeBSD-src-f8a79b86e60824348bdbf59e8b89a05c7daaf6d2.tar.gz |
Do not include <sys/syslimits.h> directly; it is not intended for general
consumption.
-rw-r--r-- | bin/ls/ls.c | 1 | ||||
-rw-r--r-- | lib/libc/locale/ldpart.c | 3 | ||||
-rw-r--r-- | lib/libc/nls/msgcat.c | 3 | ||||
-rw-r--r-- | lib/libc/posix1e/mac.c | 2 | ||||
-rw-r--r-- | usr.sbin/kbdmap/kbdmap.c | 2 | ||||
-rw-r--r-- | usr.sbin/sysinstall/nfs.c | 3 |
6 files changed, 8 insertions, 6 deletions
diff --git a/bin/ls/ls.c b/bin/ls/ls.c index cddbb79..a8d7607 100644 --- a/bin/ls/ls.c +++ b/bin/ls/ls.c @@ -50,7 +50,6 @@ __FBSDID("$FreeBSD$"); #include <sys/types.h> #include <sys/stat.h> -#include <sys/syslimits.h> #include <sys/ioctl.h> #include <sys/mac.h> diff --git a/lib/libc/locale/ldpart.c b/lib/libc/locale/ldpart.c index 1933312..ceb8394 100644 --- a/lib/libc/locale/ldpart.c +++ b/lib/libc/locale/ldpart.c @@ -30,9 +30,10 @@ __FBSDID("$FreeBSD$"); #include "namespace.h" #include <sys/types.h> #include <sys/stat.h> -#include <sys/syslimits.h> + #include <errno.h> #include <fcntl.h> +#include <limits.h> #include <stdlib.h> #include <string.h> #include <unistd.h> diff --git a/lib/libc/nls/msgcat.c b/lib/libc/nls/msgcat.c index 2b80d91..4d44618 100644 --- a/lib/libc/nls/msgcat.c +++ b/lib/libc/nls/msgcat.c @@ -41,9 +41,10 @@ __FBSDID("$FreeBSD$"); #include "namespace.h" #include <sys/types.h> #include <sys/stat.h> -#include <sys/syslimits.h> + #include <errno.h> #include <fcntl.h> +#include <limits.h> #include <locale.h> #include <nl_types.h> #include <stdio.h> diff --git a/lib/libc/posix1e/mac.c b/lib/libc/posix1e/mac.c index ee6fd73..135cdd2 100644 --- a/lib/libc/posix1e/mac.c +++ b/lib/libc/posix1e/mac.c @@ -40,10 +40,10 @@ #include <sys/types.h> #include <sys/queue.h> #include <sys/sysctl.h> -#include <sys/syslimits.h> #include <dlfcn.h> #include <errno.h> +#include <limits.h> #include <stdio.h> #include <stdlib.h> #include <string.h> diff --git a/usr.sbin/kbdmap/kbdmap.c b/usr.sbin/kbdmap/kbdmap.c index 423a13c..5f2bffd 100644 --- a/usr.sbin/kbdmap/kbdmap.c +++ b/usr.sbin/kbdmap/kbdmap.c @@ -29,11 +29,11 @@ __FBSDID("$FreeBSD$"); #include <sys/types.h> #include <sys/queue.h> -#include <sys/syslimits.h> #include <assert.h> #include <ctype.h> #include <dirent.h> +#include <limits.h> #include <stdio.h> #include <stdlib.h> #include <string.h> diff --git a/usr.sbin/sysinstall/nfs.c b/usr.sbin/sysinstall/nfs.c index 2f09637..96590cb 100644 --- a/usr.sbin/sysinstall/nfs.c +++ b/usr.sbin/sysinstall/nfs.c @@ -37,10 +37,11 @@ #include "sysinstall.h" #include <sys/errno.h> #include <sys/fcntl.h> -#include <sys/syslimits.h> #include <sys/param.h> #include <sys/mount.h> +#include <limits.h> + Boolean NFSMounted; static char mountpoint[] = "/dist"; |