add one more bogus legacy header
authorRich Felker <dalias@aerifal.cx>
Fri, 11 May 2012 03:32:28 +0000 (23:32 -0400)
committerRich 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]

diff --git a/include/netinet/in_systm.h b/include/netinet/in_systm.h
new file mode 100644 (file)
index 0000000..a7b4177
--- /dev/null
@@ -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