[xiph-cvs] cvs commit: icecast/src main.c

Ed oddsock at xiph.org
Thu Dec 4 08:24:34 PST 2003



oddsock     03/12/04 11:24:34

  Modified:    src      main.c
  Log:
  Added win32 include for getpid()

Revision  Changes    Path
1.35      +2 -0      icecast/src/main.c

Index: main.c
===================================================================
RCS file: /usr/local/cvsroot/icecast/src/main.c,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
--- main.c	1 Dec 2003 23:30:12 -0000	1.34
+++ main.c	4 Dec 2003 16:24:34 -0000	1.35
@@ -44,6 +44,8 @@
 #include <libxml/xmlmemory.h>
 
 #ifdef _WIN32
+/* For getpid() */
+#include <process.h>
 #define snprintf _snprintf
 #define getpid _getpid
 #endif

<p><p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list