a couple more for OS X ...
Peter Van Epp
vanepp at sfu.ca
Fri May 10 17:52:46 EDT 2002
Two more that fix most of OS X (argus_bpf seems to work after this,
although ra currently doesn't). After this ragator dies looking for _timelocal
at the link stage. Presumably timelocal isn't in OS X for some reason.
Peter Van Epp / Operations and Technical Support
Simon Fraser University, Burnaby, B.C. Canada
*** server/ArgusModeler.h.orig Fri May 10 14:31:28 2002
--- server/ArgusModeler.h Fri May 10 14:33:07 2002
***************
*** 103,109 ****
#include <sys/time.h>
#include <stdio.h>
! #if defined(HAVE_SOLARIS) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
#include <sys/socket.h>
#if !defined(__OpenBSD__) || (defined(__OpenBSD__) && !defined(_NET_IF_H_))
--- 103,109 ----
#include <sys/time.h>
#include <stdio.h>
! #if defined(HAVE_SOLARIS) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || (__APPLE_CC__)
#include <sys/socket.h>
#if !defined(__OpenBSD__) || (defined(__OpenBSD__) && !defined(_NET_IF_H_))
*** common/gencode.c.orig Fri May 10 14:28:53 2002
--- common/gencode.c Fri May 10 14:30:33 2002
***************
*** 40,46 ****
*/
! #if defined(HAVE_SOLARIS) || (__FreeBSD__) || (__NetBSD__) || (__OpenBSD__)
#include <sys/types.h>
#include <sys/socket.h>
#endif
--- 40,46 ----
*/
! #if defined(HAVE_SOLARIS) || (__FreeBSD__) || (__NetBSD__) || (__OpenBSD__) || (__APPLE_CC__)
#include <sys/types.h>
#include <sys/socket.h>
#endif
More information about the argus
mailing list