Show
Ignore:
Timestamp:
04/14/07 13:49:51 (21 months ago)
Author:
aturner
Message:

OpenBSD has an old version of GCC which doesn't know about a lot of -W flags
Also, OpenBSD has some strange header prerequisites, which I had to handle.
Anyways, the code now configures & compiles under OpenBSD 4.0, which hopefully
means 3.9 too. If not, too bad, someone else will have to figure it out.
fixes #146

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/common/sendpacket.c

    r1792 r1798  
    107107#include <sys/ioctl.h> 
    108108#include <sys/file.h> 
     109#include <sys/socket.h> 
     110#ifdef HAVE_SYS_PARAM_H 
     111#include <sys/param.h> 
     112#endif 
    109113#ifdef HAVE_SYS_SYSCTL_H 
    110114#include <sys/sysctl.h> 
     
    118122#ifdef HAVE_PF_PACKET 
    119123#include <fcntl.h> 
    120 #include <sys/socket.h> 
    121124#include <sys/utsname.h> 
    122125#include <net/if.h>