summaryrefslogtreecommitdiff
path: root/lib/libc/stdio
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2015-02-05 12:59:59 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2015-02-05 12:59:59 +0000
commit731dc00d80a1e46b6c0c792de01e49bdddcba0da (patch)
treeaad086c13def9dc029fe12997f1c9ec1ff24c8ee /lib/libc/stdio
parent137bf848182f7b8b042c2e2214a4d3c98ffb1189 (diff)
Include stdint.h, not limits.h to get SIZE_MAX. OK guenther@
Diffstat (limited to 'lib/libc/stdio')
-rw-r--r--lib/libc/stdio/open_memstream.c4
-rw-r--r--lib/libc/stdio/open_wmemstream.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/stdio/open_memstream.c b/lib/libc/stdio/open_memstream.c
index 4ab9bc51e1d..d38c210df9e 100644
--- a/lib/libc/stdio/open_memstream.c
+++ b/lib/libc/stdio/open_memstream.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: open_memstream.c,v 1.4 2015/01/16 16:48:51 deraadt Exp $ */
+/* $OpenBSD: open_memstream.c,v 1.5 2015/02/05 12:59:57 millert Exp $ */
/*
* Copyright (c) 2011 Martin Pieuchot <mpi@openbsd.org>
@@ -18,7 +18,7 @@
#include <errno.h>
#include <fcntl.h>
-#include <limits.h>
+#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/lib/libc/stdio/open_wmemstream.c b/lib/libc/stdio/open_wmemstream.c
index 0e7fc013348..7de134f6864 100644
--- a/lib/libc/stdio/open_wmemstream.c
+++ b/lib/libc/stdio/open_wmemstream.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: open_wmemstream.c,v 1.5 2015/01/16 16:48:51 deraadt Exp $ */
+/* $OpenBSD: open_wmemstream.c,v 1.6 2015/02/05 12:59:57 millert Exp $ */
/*
* Copyright (c) 2011 Martin Pieuchot <mpi@openbsd.org>
@@ -18,8 +18,8 @@
#include <errno.h>
#include <fcntl.h>
-#include <limits.h>
#include <stdio.h>
+#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <wchar.h>