Mercurial > hg > toybox
changeset 190:e864c5ed1d25
Netcat needs this to build.
author | Rob Landley <rob@landley.net> |
---|---|
date | Mon, 03 Dec 2007 18:57:57 -0600 |
parents | 22d22427dec6 |
children | 7f55c59f5122 |
files | toynet.h |
diffstat | 1 files changed, 9 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/toynet.h Mon Dec 03 18:57:57 2007 -0600 @@ -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>