Browse Source

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).
Rich Felker 13 years ago
parent
commit
e700e59a90
1 changed files with 9 additions and 0 deletions
  1. 9 0
      include/netinet/in_systm.h

+ 9 - 0
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