view toynet.h @ 1000:99dad9fb5613

More grep work: name "(standard input)" correctly, make multiple -e work, regex with embedded newline, multiple regex without -E.
author Rob Landley <>
date Mon, 12 Aug 2013 03:08:56 -0500
parents aca8323e2690
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>