summaryrefslogtreecommitdiffstats
path: root/native_client_sdk
diff options
context:
space:
mode:
authorsbc <sbc@chromium.org>2015-06-09 15:50:11 -0700
committerCommit bot <commit-bot@chromium.org>2015-06-09 22:51:25 +0000
commit8ee7ead35e43c801531285603c1f4383249c6f37 (patch)
tree7803371619e036e9b7c979414280c1bf9b894b3a /native_client_sdk
parent4ece34be265cc6205eea813b6805e1659c3131ca (diff)
downloadchromium_src-8ee7ead35e43c801531285603c1f4383249c6f37.zip
chromium_src-8ee7ead35e43c801531285603c1f4383249c6f37.tar.gz
chromium_src-8ee7ead35e43c801531285603c1f4383249c6f37.tar.bz2
[NaCl SDK] Add include of stdint.h to netdb.h
uint32_t is used in the declaration of getnetbyaddr but stdin.h was not directly included. This will be needed once this change the newlib headers lands: https://codereview.chromium.org/1163893003 BUG= https://code.google.com/p/nativeclient/issues/detail?id=4198 Review URL: https://codereview.chromium.org/1167113002 Cr-Commit-Position: refs/heads/master@{#333601}
Diffstat (limited to 'native_client_sdk')
-rw-r--r--native_client_sdk/src/libraries/third_party/newlib-extras/netdb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/native_client_sdk/src/libraries/third_party/newlib-extras/netdb.h b/native_client_sdk/src/libraries/third_party/newlib-extras/netdb.h
index 52b9f96..ad14f19 100644
--- a/native_client_sdk/src/libraries/third_party/newlib-extras/netdb.h
+++ b/native_client_sdk/src/libraries/third_party/newlib-extras/netdb.h
@@ -60,6 +60,7 @@
#include <sys/cdefs.h>
#include <sys/types.h>
#include <machine/ansi.h>
+#include <stdint.h>
#include <stdio.h>
#ifndef __socklen_t_defined