view toynet.h @ 578:5cc8a8fc08b4

First pass at a complete rewrite of string_to_mode(). (It compiled!)
author Rob Landley <>
date Wed, 16 May 2012 21:11:43 -0500
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>