[Spread-cvs] cvs commit: spread/daemon arch.h auth-pword-client.c configuration.c
jonathan at spread.org
jonathan at spread.org
Sun Feb 3 16:08:49 EST 2002
jonathan 02/02/03 16:08:48
Modified: daemon arch.h auth-pword-client.c configuration.c
Log:
Added FD_SETSIZE define for windows. Made sure arch.h included before any
windows header files.
Revision Changes Path
1.7 +1 -0 spread/daemon/arch.h
Index: arch.h
===================================================================
RCS file: /storage/cvsroot/spread/daemon/arch.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- arch.h 24 Jan 2002 04:47:49 -0000 1.6
+++ arch.h 3 Feb 2002 21:08:48 -0000 1.7
@@ -394,6 +394,7 @@
#define snprintf _snprintf
#define alloca _alloca
#define close closesocket
+#define FD_SETSIZE 1024
#endif /* ARCH */
/* to grab UINT32_MAX definitions if they exist */
1.2 +1 -0 spread/daemon/auth-pword-client.c
Index: auth-pword-client.c
===================================================================
RCS file: /storage/cvsroot/spread/daemon/auth-pword-client.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- auth-pword-client.c 21 Aug 2001 14:28:21 -0000 1.1
+++ auth-pword-client.c 3 Feb 2002 21:08:48 -0000 1.2
@@ -36,6 +36,7 @@
*
*/
+#include "arch.h"
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
1.2 +2 -0 spread/daemon/configuration.c
Index: configuration.c
===================================================================
RCS file: /storage/cvsroot/spread/daemon/configuration.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- configuration.c 21 Aug 2001 14:28:21 -0000 1.1
+++ configuration.c 3 Feb 2002 21:08:48 -0000 1.2
@@ -51,6 +51,8 @@
// harmony
*/
+#include "arch.h"
+
#ifndef ARCH_PC_WIN95
#include <netdb.h>
More information about the Spread-cvs
mailing list