about summary refs log tree commit diff
path: root/posix
diff options
context:
space:
mode:
authorRyan S. Arnold <rsa@linux.vnet.ibm.com>2013-05-01 10:46:34 -0500
committerRyan S. Arnold <rsa@linux.vnet.ibm.com>2013-05-16 11:32:54 -0500
commite054f494306530720114b321b3d97ca2f397cbbb (patch)
tree08bd9b3309787b98c196961d5c8480bf65c7b2a8 /posix
parent8c75f67421af1e6680ac465f49672021b6571904 (diff)
downloadglibc-e054f494306530720114b321b3d97ca2f397cbbb.tar.gz
glibc-e054f494306530720114b321b3d97ca2f397cbbb.tar.xz
glibc-e054f494306530720114b321b3d97ca2f397cbbb.zip
Add #include <stdint.h> for uint[32|64]_t usage (except installed headers).
Diffstat (limited to 'posix')
-rw-r--r--posix/bug-regex5.c1
-rw-r--r--posix/fnmatch_loop.c2
-rw-r--r--posix/regcomp.c2
-rw-r--r--posix/regexec.c2
-rw-r--r--posix/tst-rfc3484-2.c1
-rw-r--r--posix/tst-rfc3484-3.c1
-rw-r--r--posix/tst-rfc3484.c1
7 files changed, 10 insertions, 0 deletions
diff --git a/posix/bug-regex5.c b/posix/bug-regex5.c
index f199ffbfd3..fd18b19df4 100644
--- a/posix/bug-regex5.c
+++ b/posix/bug-regex5.c
@@ -1,5 +1,6 @@
 #include <stdio.h>
 #include <string.h>
+#include <stdint.h>
 #include <locale.h>
 #include <locale/localeinfo.h>
 
diff --git a/posix/fnmatch_loop.c b/posix/fnmatch_loop.c
index ef3c882a61..6c4301df13 100644
--- a/posix/fnmatch_loop.c
+++ b/posix/fnmatch_loop.c
@@ -15,6 +15,8 @@
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
+#include <stdint.h>
+
 struct STRUCT
 {
   const CHAR *pattern;
diff --git a/posix/regcomp.c b/posix/regcomp.c
index 578044155b..0ffc2fad8b 100644
--- a/posix/regcomp.c
+++ b/posix/regcomp.c
@@ -17,6 +17,8 @@
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
+#include <stdint.h>
+
 static reg_errcode_t re_compile_internal (regex_t *preg, const char * pattern,
 					  size_t length, reg_syntax_t syntax);
 static void re_compile_fastmap_iter (regex_t *bufp,
diff --git a/posix/regexec.c b/posix/regexec.c
index 5ca2bf67a0..f85c5e8017 100644
--- a/posix/regexec.c
+++ b/posix/regexec.c
@@ -17,6 +17,8 @@
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
+#include <stdint.h>
+
 static reg_errcode_t match_ctx_init (re_match_context_t *cache, int eflags,
 				     int n) internal_function;
 static void match_ctx_clean (re_match_context_t *mctx) internal_function;
diff --git a/posix/tst-rfc3484-2.c b/posix/tst-rfc3484-2.c
index a37be36e6a..fcf8a8cd60 100644
--- a/posix/tst-rfc3484-2.c
+++ b/posix/tst-rfc3484-2.c
@@ -1,6 +1,7 @@
 #include <stdbool.h>
 #include <stdio.h>
 #include <ifaddrs.h>
+#include <stdint.h>
 
 /* Internal definitions used in the libc code.  */
 #define __getservbyname_r getservbyname_r
diff --git a/posix/tst-rfc3484-3.c b/posix/tst-rfc3484-3.c
index 493e76015c..86d59be1ab 100644
--- a/posix/tst-rfc3484-3.c
+++ b/posix/tst-rfc3484-3.c
@@ -1,6 +1,7 @@
 #include <stdbool.h>
 #include <stdio.h>
 #include <ifaddrs.h>
+#include <stdint.h>
 
 /* Internal definitions used in the libc code.  */
 #define __getservbyname_r getservbyname_r
diff --git a/posix/tst-rfc3484.c b/posix/tst-rfc3484.c
index db3ae1b7bb..2726fa0ad9 100644
--- a/posix/tst-rfc3484.c
+++ b/posix/tst-rfc3484.c
@@ -1,6 +1,7 @@
 #include <stdbool.h>
 #include <stdio.h>
 #include <ifaddrs.h>
+#include <stdint.h>
 
 /* Internal definitions used in the libc code.  */
 #define __getservbyname_r getservbyname_r