summaryrefslogtreecommitdiff
path: root/include/netinet
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-05-10 23:32:28 -0400
committerRich Felker <dalias@aerifal.cx>2012-05-10 23:32:28 -0400
commite700e59a90290babdb7e984a7a738f30a8f87dcf (patch)
tree268b5724597098710cf1ddb521c991ba91c97f54 /include/netinet
parentc8b01e73cad6a3edea7bfdf4e674f945fd7b6de3 (diff)
downloadmusl-e700e59a90290babdb7e984a7a738f30a8f87dcf.tar.gz
musl-e700e59a90290babdb7e984a7a738f30a8f87dcf.tar.bz2
musl-e700e59a90290babdb7e984a7a738f30a8f87dcf.tar.xz
musl-e700e59a90290babdb7e984a7a738f30a8f87dcf.zip
add one more bogus legacy header
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).
Diffstat (limited to 'include/netinet')
-rw-r--r--include/netinet/in_systm.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/netinet/in_systm.h b/include/netinet/in_systm.h
new file mode 100644
index 00000000..a7b41772
--- /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