Mercurial > hg > toybox
view toynet.h @ 688:9791e462855a
Fix reversed test: patch creates a file if /dev/null or dated the epoch _and_ first hunk being replaced is 0 lines at start of file, not one or the other.
author | Rob Landley <rob@landley.net> |
---|---|
date | Sat, 10 Nov 2012 14:34:01 -0600 |
parents | e864c5ed1d25 |
children | 4dcd5decb4fd |
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 <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #include <netdb.h> #include <poll.h>