FreeBSD patch for argus-3.0.11

Peter Van Epp vanepp at sfu.ca
Thu Jun 10 13:39:41 EDT 2010


	Here is another minor fix for 3.0.12 :-). On FreeBSD (and probably 
openBSD and netBSD but I haven't tested on them) we need sys/wait.h in 
argus.c to compile successfully:

Peter Van Epp

*** argus/argus.c.orig	Wed Jun  9 19:54:55 2010
--- argus/argus.c	Wed Jun  9 19:56:32 2010
***************
*** 43,48 ****
--- 43,52 ----
  #include <syslog.h>
  #include <stdarg.h>
  
+ #if defined (__FreeBSD__)
+ #include <sys/wait.h>
+ #endif
+ 
  #include <argus.h>
  
  #if defined(ARGUS_TILERA)



More information about the argus mailing list