view toynet.h @ 258:e64dec29965d

Dirtree needs to use lstat(), not stat. And failure should probably be a warning rather than an error (it means the directory tree is changing out from under it, but only the user knows if that's fatal).
author Rob Landley <rob@landley.net>
date Sat, 16 Feb 2008 19:41:20 -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>