Skip to content

Commit

Permalink
added a new include sys/socket.h - bsd
Browse files Browse the repository at this point in the history
  • Loading branch information
allinurl committed Jun 26, 2011
1 parent c422f3d commit 2f80686
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions util.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@

#define _XOPEN_SOURCE 700

#ifdef __FreeBSD__
#include <sys/socket.h>
#endif

#include <arpa/inet.h>
#include <ctype.h>
#include <errno.h>
Expand Down

0 comments on commit 2f80686

Please sign in to comment.