Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(15)

Unified Diff: third_party/libevent/test/test-init.c

Issue 412006: posix: upgrade libevent from 1.4.7 to 1.4.13 (Closed)
Patch Set: better readme Created 11 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/libevent/test/test-init.c
diff --git a/third_party/libevent/test/test-init.c b/third_party/libevent/test/test-init.c
index c368715fd67d2592c08466daa0dc429e21f09912..d60aa36bd56d0dc9be7eb9595883a01cf3a4c32b 100644
--- a/third_party/libevent/test/test-init.c
+++ b/third_party/libevent/test/test-init.c
@@ -6,10 +6,15 @@
#include "config.h"
#endif
+#ifdef WIN32
+#include <winsock2.h>
+#endif
#include <sys/types.h>
#include <sys/stat.h>
+#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
+#endif
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
@@ -17,7 +22,9 @@
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
+#ifdef HAVE_UNISTD_H
#include <unistd.h>
+#endif
#include <errno.h>
#include <event.h>

Powered by Google App Engine
This is Rietveld 408576698