[Nagiosplug-checkins] CVS: nagiosplug/plugins common.h,1.7,1.8

Jeremy T. Bouse undrgrid at users.sourceforge.net
Fri Aug 8 23:52:01 CEST 2003


Update of /cvsroot/nagiosplug/nagiosplug/plugins
In directory sc8-pr-cvs1:/tmp/cvs-serv14647/plugins

Modified Files:
	common.h 
Log Message:
Code clean-up


Index: common.h
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/common.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** common.h	26 Jul 2003 12:13:19 -0000	1.7
--- common.h	9 Aug 2003 06:51:29 -0000	1.8
***************
*** 81,85 ****
  #include <ctype.h>
  
! #if HAVE_LWRES_NETDB_H
  #include <lwres/netdb.h>
  #else
--- 81,85 ----
  #include <ctype.h>
  
! #ifdef HAVE_LWRES_NETDB_H
  #include <lwres/netdb.h>
  #else
***************
*** 91,94 ****
--- 91,98 ----
  #endif
  
+ #ifdef HAVE_LOCALE_H
+ #include <locale.h>
+ #endif
+ 
  /*
   *
***************
*** 157,161 ****
   */
  
! #if ENABLE_NLS
  #  include "gettext.h"
  #  define _(String) gettext (String)
--- 161,165 ----
   */
  
! #ifdef ENABLE_NLS
  #  include "gettext.h"
  #  define _(String) gettext (String)





More information about the Commits mailing list