[srvx-commits] CVS: services/src main.c,1.94.2.12,1.94.2.13 opserv.c,1.187.2.51,1.187.2.52 proto.h,1
Brought to you by:
entrope
From: Entrope <en...@us...> - 2001-09-04 18:20:54
|
Update of /cvsroot/srvx/services/src In directory usw-pr-cvs1:/tmp/cvs-serv17012/src Modified Files: Tag: rel-1_0 main.c opserv.c proto.h Log Message: clean up some #include's Index: main.c =================================================================== RCS file: /cvsroot/srvx/services/src/main.c,v retrieving revision 1.94.2.12 retrieving revision 1.94.2.13 diff -C2 -r1.94.2.12 -r1.94.2.13 *** main.c 2001/08/30 03:16:47 1.94.2.12 --- main.c 2001/09/04 18:20:51 1.94.2.13 *************** *** 51,54 **** --- 51,57 ---- #include <sys/resource.h> #endif + #ifdef HAVE_NETINET_IN_H + #include <netinet/in.h> + #endif #include "common.h" Index: opserv.c =================================================================== RCS file: /cvsroot/srvx/services/src/opserv.c,v retrieving revision 1.187.2.51 retrieving revision 1.187.2.52 diff -C2 -r1.187.2.51 -r1.187.2.52 *** opserv.c 2001/08/25 03:16:03 1.187.2.51 --- opserv.c 2001/09/04 18:20:51 1.187.2.52 *************** *** 27,30 **** --- 27,33 ---- #endif #include <limits.h> + #ifdef HAVE_NETINET_IN_H + #include <netinet/in.h> + #endif #ifdef HAVE_SYS_PARAM_H #include <sys/param.h> Index: proto.h =================================================================== RCS file: /cvsroot/srvx/services/src/proto.h,v retrieving revision 1.24.2.4 retrieving revision 1.24.2.5 diff -C2 -r1.24.2.4 -r1.24.2.5 *** proto.h 2001/08/16 02:39:18 1.24.2.4 --- proto.h 2001/09/04 18:20:51 1.24.2.5 *************** *** 28,39 **** #define MAXNUMPARAMS 200 - #ifdef HAVE_SYS_TYPES_H - #include <sys/types.h> - #endif #ifdef HAVE_NETINET_IN_H #include <netinet/in.h> - #endif - #ifdef HAVE_SYS_SOCKET_H - #include <sys/socket.h> #endif --- 28,33 ---- |