svn rev #21934: trunk/src/util/support/

raeburn@MIT.EDU raeburn at MIT.EDU
Mon Feb 9 17:42:45 EST 2009


http://src.mit.edu/fisheye/changelog/krb5/?cs=21934
Commit By: raeburn
Log Message:
Use winsock2.h on Windows.  Make initializer value static.


Changed Files:
U   trunk/src/util/support/ipc_stream.c
Modified: trunk/src/util/support/ipc_stream.c
===================================================================
--- trunk/src/util/support/ipc_stream.c	2009-02-09 22:38:31 UTC (rev 21933)
+++ trunk/src/util/support/ipc_stream.c	2009-02-09 22:42:43 UTC (rev 21934)
@@ -24,6 +24,9 @@
  * or implied warranty.
  */
 
+#ifdef _WIN32
+#include <winsock2.h>
+#endif
 #include "k5-ipc_stream.h"
 
 #if !defined(htonll)
@@ -43,7 +46,7 @@
     uint64_t max_size;
 };
 
-const struct k5_ipc_stream_s k5_ipc_stream_initializer = { NULL, 0, 0 };
+static const struct k5_ipc_stream_s k5_ipc_stream_initializer = { NULL, 0, 0 };
 
 #define K5_IPC_STREAM_SIZE_INCREMENT 128
 




More information about the cvs-krb5 mailing list