[srvx-commits] CVS: services/src sockcheck.c,1.62,1.63 uplink.c,1.10,1.11
Brought to you by:
entrope
From: Miles P. <pet...@us...> - 2001-09-29 04:37:34
|
Update of /cvsroot/srvx/services/src In directory usw-pr-cvs1:/tmp/cvs-serv20707/src Modified Files: sockcheck.c uplink.c Log Message: need to include netinet/in.h for sockaddr_in/htonl etc. Index: sockcheck.c =================================================================== RCS file: /cvsroot/srvx/services/src/sockcheck.c,v retrieving revision 1.62 retrieving revision 1.63 diff -C2 -r1.62 -r1.63 *** sockcheck.c 2001/09/22 16:12:54 1.62 --- sockcheck.c 2001/09/29 04:37:31 1.63 *************** *** 47,50 **** --- 47,53 ---- #include <sys/poll.h> #endif + #ifdef HAVE_NETINET_IN_H + #include <netinet/in.h> + #endif #ifdef HAVE_SYS_SOCKET_H #include <sys/socket.h> Index: uplink.c =================================================================== RCS file: /cvsroot/srvx/services/src/uplink.c,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -r1.10 -r1.11 *** uplink.c 2001/09/28 15:21:29 1.10 --- uplink.c 2001/09/29 04:37:31 1.11 *************** *** 24,27 **** --- 24,28 ---- #include <stdarg.h> #include <stdlib.h> + #include <netinet/in.h> #include <sys/socket.h> #include <unistd.h> |