view toynet.h @ 1099:71326585c02d draft

Cleanup nl, add support for more bits of posix.
author Rob Landley <rob@landley.net>
date Sun, 27 Oct 2013 02:48:13 -0500
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>