projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8b01e7
)
add one more bogus legacy header
author
Rich Felker
<dalias@aerifal.cx>
Fri, 11 May 2012 03:32:28 +0000
(23:32 -0400)
committer
Rich Felker
<dalias@aerifal.cx>
Fri, 11 May 2012 03:32:28 +0000
(23:32 -0400)
this one is for program(s|ers) who haven't heard of uint16_t and
uint32_t (which are obviously the correct types for use in such
situations, as they're the argument/return types for ntohs/htons and
ntohl/htonl).
include/netinet/in_systm.h
[new file with mode: 0644]
patch
|
blob
diff --git a/include/netinet/in_systm.h
b/include/netinet/in_systm.h
new file mode 100644
(file)
index 0000000..
a7b4177
--- /dev/null
+++ b/
include/netinet/in_systm.h
@@ -0,0
+1,9
@@
+#ifndef _NETINET_IN_SYSTM_H
+#define _NETINET_IN_SYSTM_H
+
+#include <stdint.h>
+
+typedef uint16_t n_short;
+typedef uint32_t n_long, n_time;
+
+#endif