[Snort-devel] [jpickel at ...64...: [snort-cvs] CVS: snort plugbase.h,1.13,1.14 misc-lib,1.3,1.4]

Fyodor fygrave at ...1...
Tue Oct 31 02:45:51 EST 2000


IMHO the better approach here would be to check for all 'specific' header files
separately in configure script and then just include them on:

#ifdef HAVE_SYS_PARAM_H
#include <sys/param.h>
#endif
#ifdef HAVE_MACHINE_PARAM_H
#include <machine/param.h>
#endif


etc.. no? Jed, Marty, any thoughts? :)

----- Forwarded message from Jed Pickel <jpickel at ...64...> -----

From: Jed Pickel <jpickel at ...64...>
Date: Mon, 30 Oct 2000 16:37:31 -0800
To: snort-cvsinfo at lists.sourceforge.net
Subject: [snort-cvs] CVS: snort plugbase.h,1.13,1.14 misc-lib,1.3,1.4

Update of /cvsroot/snort/snort
In directory slayer.i.sourceforge.net:/tmp/cvs-serv4286

Modified Files:
	plugbase.h misc-lib 
Log Message:
Fixed format error in misc-lib (thanks for pointing that out Chris)
Fixed machine/param.h solaris problem in plugbase.h. I am not certain
      this is a solaris specific issue or not yet.


Index: plugbase.h
===================================================================
RCS file: /cvsroot/snort/snort/plugbase.h,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -r1.13 -r1.14
*** plugbase.h	2000/10/30 09:21:19	1.13
--- plugbase.h	2000/10/31 00:37:29	1.14
***************
*** 77,82 ****
  #endif
  
! #if defined(FREEBSD) || defined(OPENBSD) || defined(SOLARIS)
  #include <machine/param.h>
  #endif
  
--- 77,86 ----
  #endif
  
! #if defined(FREEBSD) || defined(OPENBSD)
  #include <machine/param.h>
+ #endif
+ 
+ #if defined(SOLARIS)
+ #include <sys/param.h>
  #endif
  




More information about the Snort-devel mailing list