diff options
| author | Rob Landley <rob@landley.net> | 2007-12-03 18:57:57 -0600 |
|---|---|---|
| committer | Rob Landley <rob@landley.net> | 2007-12-03 18:57:57 -0600 |
| commit | f76040136405d824fa8c2c47f7643c31f52bff93 (patch) | |
| tree | 94fb5c7b11db15c9eaf8a2e7eeab74393243d3e0 | |
| parent | 29266f4987fe104c245d4d4b2afd44430ee15d56 (diff) | |
| download | toybox-f76040136405d824fa8c2c47f7643c31f52bff93.tar.gz | |
Netcat needs this to build.
| -rw-r--r-- | toynet.h | 9 |
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> |
