Add some headers to fix freebsd compilation

This commit is contained in:
Nick Mathewson 2010-02-18 13:52:04 -05:00
parent 1ba6bed89a
commit b72be50d7a
2 changed files with 7 additions and 0 deletions

View File

@ -11,6 +11,10 @@
#include <errno.h>
#include <stdio.h>
#include <signal.h>
#ifndef WIN32
#include <netinet/in.h>
#include <sys/socket.h>
#endif
#include <event2/bufferevent.h>
#include <event2/buffer.h>

View File

@ -33,6 +33,9 @@
#ifdef WIN32
#include <winsock2.h>
#include <ws2tcpip.h>
#else
#include <sys/socket.h>
#include <netinet/in.h>
#endif
#include <event2/bufferevent.h>