about summary refs log tree commit diff
path: root/inet
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 /inet
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 'inet')
-rw-r--r--inet/check_native.c2
-rw-r--r--inet/check_pf.c2
-rw-r--r--inet/getipv4sourcefilter.c1
-rw-r--r--inet/getnameinfo.c1
-rw-r--r--inet/getsourcefilter.c2
-rw-r--r--inet/htonl.c1
-rw-r--r--inet/setipv4sourcefilter.c1
-rw-r--r--inet/setsourcefilter.c1
-rw-r--r--inet/test-inet6_opt.c1
-rw-r--r--inet/tst-network.c1
10 files changed, 10 insertions, 3 deletions
diff --git a/inet/check_native.c b/inet/check_native.c
index e45a7ffbcf..46ee837b57 100644
--- a/inet/check_native.c
+++ b/inet/check_native.c
@@ -17,7 +17,7 @@
    <http://www.gnu.org/licenses/>.  */
 
 #include <ifaddrs.h>
-
+#include <stdint.h>
 
 void
 attribute_hidden
diff --git a/inet/check_pf.c b/inet/check_pf.c
index 6968973eb7..0e506023ea 100644
--- a/inet/check_pf.c
+++ b/inet/check_pf.c
@@ -18,7 +18,7 @@
 
 #include <ifaddrs.h>
 #include <netdb.h>
-
+#include <stdint.h>
 
 void
 attribute_hidden
diff --git a/inet/getipv4sourcefilter.c b/inet/getipv4sourcefilter.c
index b6bcffe43c..258829f18f 100644
--- a/inet/getipv4sourcefilter.c
+++ b/inet/getipv4sourcefilter.c
@@ -18,6 +18,7 @@
    <http://www.gnu.org/licenses/>.  */
 
 #include <errno.h>
+#include <stdint.h>
 #include <netinet/in.h>
 
 
diff --git a/inet/getnameinfo.c b/inet/getnameinfo.c
index 436604b756..ce54fe42a8 100644
--- a/inet/getnameinfo.c
+++ b/inet/getnameinfo.c
@@ -43,6 +43,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #include <stdio.h>
 #include <string.h>
 #include <unistd.h>
+#include <stdint.h>
 #include <arpa/inet.h>
 #include <net/if.h>
 #include <netinet/in.h>
diff --git a/inet/getsourcefilter.c b/inet/getsourcefilter.c
index 174f326c3a..662a60ab94 100644
--- a/inet/getsourcefilter.c
+++ b/inet/getsourcefilter.c
@@ -19,7 +19,7 @@
 
 #include <errno.h>
 #include <netinet/in.h>
-
+#include <stdint.h>
 
 int
 getsourcefilter (int s, uint32_t interface, const struct sockaddr *group,
diff --git a/inet/htonl.c b/inet/htonl.c
index 0a6205fb0b..c753cb1545 100644
--- a/inet/htonl.c
+++ b/inet/htonl.c
@@ -15,6 +15,7 @@
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
+#include <stdint.h>
 #include <netinet/in.h>
 
 #undef	htonl
diff --git a/inet/setipv4sourcefilter.c b/inet/setipv4sourcefilter.c
index f3841f5c03..af9665968e 100644
--- a/inet/setipv4sourcefilter.c
+++ b/inet/setipv4sourcefilter.c
@@ -18,6 +18,7 @@
    <http://www.gnu.org/licenses/>.  */
 
 #include <errno.h>
+#include <stdint.h>
 #include <netinet/in.h>
 
 
diff --git a/inet/setsourcefilter.c b/inet/setsourcefilter.c
index 53f1ec4809..4f9c23f2cd 100644
--- a/inet/setsourcefilter.c
+++ b/inet/setsourcefilter.c
@@ -18,6 +18,7 @@
    <http://www.gnu.org/licenses/>.  */
 
 #include <errno.h>
+#include <stdint.h>
 #include <netinet/in.h>
 
 
diff --git a/inet/test-inet6_opt.c b/inet/test-inet6_opt.c
index 4db9b59389..3bf319ef0c 100644
--- a/inet/test-inet6_opt.c
+++ b/inet/test-inet6_opt.c
@@ -2,6 +2,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#include <stdint.h>
 
 #define OPT_X	42
 #define OPT_Y	43
diff --git a/inet/tst-network.c b/inet/tst-network.c
index af73cd0eeb..6b79e62df6 100644
--- a/inet/tst-network.c
+++ b/inet/tst-network.c
@@ -18,6 +18,7 @@
    <http://www.gnu.org/licenses/>.  */
 
 #include <stdio.h>
+#include <stdint.h>
 #include <sys/socket.h>
 #include <netinet/in.h>
 #include <arpa/inet.h>