]> granicus.if.org Git - libevent/commitdiff
Add process.h include to evutil.c for _getpid
authorNick Mathewson <nickm@torproject.org>
Mon, 23 Jul 2012 20:32:43 +0000 (16:32 -0400)
committerNick Mathewson <nickm@torproject.org>
Mon, 23 Jul 2012 20:32:43 +0000 (16:32 -0400)
evutil.c

index 352649f718224aa9ee1b54a6fe901ec7b97e66c2..60a05bbedbc240457c2dc63869125099ef5aafb6 100644 (file)
--- a/evutil.c
+++ b/evutil.c
@@ -35,6 +35,7 @@
 #undef WIN32_LEAN_AND_MEAN
 #include <io.h>
 #include <tchar.h>
+#include <process.h>
 #undef _WIN32_WINNT
 /* For structs needed by GetAdaptersAddresses */
 #define _WIN32_WINNT 0x0501