summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/ungetwc.c
diff options
context:
space:
mode:
authorstefanf <stefanf@FreeBSD.org>2005-08-20 07:59:13 +0000
committerstefanf <stefanf@FreeBSD.org>2005-08-20 07:59:13 +0000
commitbca82361aaefb3fe4b561e305d15cd9cfc5c59ec (patch)
tree38c86566d0fd871ba78447f3cf5294b094fa2ccd /lib/libc/stdio/ungetwc.c
parent72d79d83572493047ec38aaa01c1babc4006ca57 (diff)
downloadFreeBSD-src-bca82361aaefb3fe4b561e305d15cd9cfc5c59ec.zip
FreeBSD-src-bca82361aaefb3fe4b561e305d15cd9cfc5c59ec.tar.gz
Include <sys/types.h> and <limits.h> ourselves, don't assume they are included
through <pthread.h>. gen/sem.c: Prerequisite for <_semaphore.h> net/getprotoent.c: USHRT_MAX net/getservent.c: USHRT_MAX stdio/ungetwc.c: MB_LEN_MAX stdio/vfwscanf.c: MB_LEN_MAX
Diffstat (limited to 'lib/libc/stdio/ungetwc.c')
-rw-r--r--lib/libc/stdio/ungetwc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libc/stdio/ungetwc.c b/lib/libc/stdio/ungetwc.c
index bae2c3e..510648b 100644
--- a/lib/libc/stdio/ungetwc.c
+++ b/lib/libc/stdio/ungetwc.c
@@ -29,6 +29,7 @@ __FBSDID("$FreeBSD$");
#include "namespace.h"
#include <errno.h>
+#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <wchar.h>
OpenPOWER on IntegriCloud