[uclibc-ng-devel] [PATCH] netinet/udp: add missing include

Romain Naour romain.naour at gmail.com
Thu Jul 6 22:47:30 CEST 2017


Since the refactoring introduced by [1] any check using netinet/udp.h fail
with the following error:

[...]/usr/include/netinet/udp.h:62:7: error: unknown type name 'uint16_t'

See the error in netinet/udp.h check:
[efl] http://autobuild.buildroot.net/results/8c6/8c629a1c5c4a1d78c8bf09a091a332a424a0f757//efl-1.19.1/config.log
[trinity] http://autobuild.buildroot.net/results/c8f/c8f34aaaecf931e0044ef858ef587325e4c0e1c8/build-end.log

[1] 58a5ba12bffad5916d9897c2870fc483f1db8282

Signed-off-by: Romain Naour <romain.naour at gmail.com>
---
 include/netinet/udp.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/netinet/udp.h b/include/netinet/udp.h
index ac6f234..f03e2dc 100644
--- a/include/netinet/udp.h
+++ b/include/netinet/udp.h
@@ -48,6 +48,7 @@
 #define __NETINET_UDP_H    1
 
 #include <features.h>
+#include <stdint.h>
 #include <sys/types.h>
 
 
-- 
2.9.4



More information about the devel mailing list