Mercurial > hg > toybox
view toynet.h @ 993:d5a1174ff88a
New toy: fallocate
author | Felix Janda <felix.janda@posteo.de> |
---|---|
date | Fri, 09 Aug 2013 20:46:02 +0200 |
parents | aca8323e2690 |
children |
line wrap: on
line source
// 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 <arpa/inet.h> #include <netdb.h> #include <net/if.h> #include <netinet/in.h> #include <netinet/tcp.h> #include <poll.h> #include <sys/socket.h> #include <sys/un.h>