diff options
author | jhb <jhb@FreeBSD.org> | 2008-02-27 21:25:19 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2008-02-27 21:25:19 +0000 |
commit | 8ee71003bdeda70a0e5b19d6b4cd388bcbe39671 (patch) | |
tree | 5531e8ca8c44f02d1e26e8b6a3c0ef28bef8c3f6 /lib/libc/stdio/fopen.c | |
parent | 4c65fa8afdeb144b1a2be9476db19538f56c60ba (diff) | |
download | FreeBSD-src-8ee71003bdeda70a0e5b19d6b4cd388bcbe39671.zip FreeBSD-src-8ee71003bdeda70a0e5b19d6b4cd388bcbe39671.tar.gz |
Add <limits.h> for SHRT_MAX.
Pointy hat to: jhb
Diffstat (limited to 'lib/libc/stdio/fopen.c')
-rw-r--r-- | lib/libc/stdio/fopen.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libc/stdio/fopen.c b/lib/libc/stdio/fopen.c index a6c0028..14ec9bc 100644 --- a/lib/libc/stdio/fopen.c +++ b/lib/libc/stdio/fopen.c @@ -43,6 +43,7 @@ __FBSDID("$FreeBSD$"); #include <unistd.h> #include <stdio.h> #include <errno.h> +#include <limits.h> #include "un-namespace.h" #include "local.h" |