Skip to content
Snippets Groups Projects
Commit 5495a659 authored by Christoph Hellwig's avatar Christoph Hellwig
Browse files

provide ntoh*/hton* prototypes in netport.h

parent 981493b7
No related branches found
No related tags found
No related merge requests found
...@@ -176,6 +176,17 @@ typedef uintptr_t __uintptr_t; ...@@ -176,6 +176,17 @@ typedef uintptr_t __uintptr_t;
#undef INVARIANTS #undef INVARIANTS
#endif #endif
#undef htonl
#undef htons
#undef ntohl
#undef ntohs
uint32_t htonl(uint32_t);
uint16_t htons(uint16_t);
uint32_t ntohl(uint32_t);
uint16_t ntohs(uint16_t);
struct malloc_type { struct malloc_type {
int unused; int unused;
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment