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

Unified Diff: third_party/libevent/test/test-time.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-time.c
diff --git a/third_party/libevent/test/test-time.c b/third_party/libevent/test/test-time.c
index a847d55ef3853799c3ca467a86f2165496141a9f..703bc32b5722a966a1d84e38ed78029464465d39 100644
--- a/third_party/libevent/test/test-time.c
+++ b/third_party/libevent/test/test-time.c
@@ -6,15 +6,22 @@
#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
#include <fcntl.h>
#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