aboutsummaryrefslogtreecommitdiff
path: root/toynet.h
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2007-12-03 18:57:57 -0600
committerRob Landley <rob@landley.net>2007-12-03 18:57:57 -0600
commitf76040136405d824fa8c2c47f7643c31f52bff93 (patch)
tree94fb5c7b11db15c9eaf8a2e7eeab74393243d3e0 /toynet.h
parent29266f4987fe104c245d4d4b2afd44430ee15d56 (diff)
downloadtoybox-f76040136405d824fa8c2c47f7643c31f52bff93.tar.gz
Netcat needs this to build.
Diffstat (limited to 'toynet.h')
-rw-r--r--toynet.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/toynet.h b/toynet.h
new file mode 100644
index 00000000..2ecda641
--- /dev/null
+++ b/toynet.h
@@ -0,0 +1,9 @@
+// Included after toys.h, for network stuff. Some build environments
+// don't include network support, so we shouldn't include it unless we're
+// going to build it.
+
+#include <sys/socket.h>
+#include <netinet/in.h>
+#include <arpa/inet.h>
+#include <netdb.h>
+#include <poll.h>