OSDN Git Service
(root)
/
android-x86
/
external-toybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29266f4
)
Netcat needs this to build.
author
Rob Landley
<rob@landley.net>
Tue, 4 Dec 2007 00:57:57 +0000
(18:57 -0600)
committer
Rob Landley
<rob@landley.net>
Tue, 4 Dec 2007 00:57:57 +0000
(18:57 -0600)
toynet.h
[new file with mode: 0644]
patch
|
blob
diff --git a/toynet.h
b/toynet.h
new file mode 100644
(file)
index 0000000..
2ecda64
--- /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>