summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/fdopen.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2008-02-27 21:25:19 +0000
committerjhb <jhb@FreeBSD.org>2008-02-27 21:25:19 +0000
commit8ee71003bdeda70a0e5b19d6b4cd388bcbe39671 (patch)
tree5531e8ca8c44f02d1e26e8b6a3c0ef28bef8c3f6 /lib/libc/stdio/fdopen.c
parent4c65fa8afdeb144b1a2be9476db19538f56c60ba (diff)
downloadFreeBSD-src-8ee71003bdeda70a0e5b19d6b4cd388bcbe39671.zip
FreeBSD-src-8ee71003bdeda70a0e5b19d6b4cd388bcbe39671.tar.gz
Add <limits.h> for SHRT_MAX.
Pointy hat to: jhb
Diffstat (limited to 'lib/libc/stdio/fdopen.c')
-rw-r--r--lib/libc/stdio/fdopen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libc/stdio/fdopen.c b/lib/libc/stdio/fdopen.c
index 02378ed..072d322 100644
--- a/lib/libc/stdio/fdopen.c
+++ b/lib/libc/stdio/fdopen.c
@@ -42,6 +42,7 @@ __FBSDID("$FreeBSD$");
#include <unistd.h>
#include <stdio.h>
#include <errno.h>
+#include <limits.h>
#include "un-namespace.h"
#include "local.h"
OpenPOWER on IntegriCloud