diff mbox

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

Message ID 20170706204730.32535-1-romain.naour@gmail.com
State Superseded
Headers show

Commit Message

Romain Naour July 6, 2017, 8:47 p.m. UTC
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@gmail.com>
---
 include/netinet/udp.h | 1 +
 1 file changed, 1 insertion(+)

Comments

Waldemar Brodkorb July 9, 2017, 6:57 a.m. UTC | #1
Hi Romain,
Romain Naour wrote,

> 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@gmail.com>

Thanks for the patch, it is the right thing.
But I already have some more changes in testing, I just want to sync
the header completely to the GNU C library version.

https://cgit.openadk.org/cgi/cgit/uclibc-ng.git/commit/?id=fcf3a1950dbdbcf7a600cf8ae0e4ea92c20f5af1

best regards
 Waldemar
Romain Naour July 12, 2017, 4:22 p.m. UTC | #2
Hi Waldemar,

Le 09/07/2017 à 08:57, Waldemar Brodkorb a écrit :
> Hi Romain,
> Romain Naour wrote,
> 
>> 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@gmail.com>
> 
> Thanks for the patch, it is the right thing.
> But I already have some more changes in testing, I just want to sync
> the header completely to the GNU C library version.
> 
> https://cgit.openadk.org/cgi/cgit/uclibc-ng.git/commit/?id=fcf3a1950dbdbcf7a600cf8ae0e4ea92c20f5af1

Ok thanks :)

Best regards,
Romain

> 
> best regards
>  Waldemar
>
diff mbox

Patch

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>