projects
/
pazpar2-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d112323
)
Include windows.h on Windows
author
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 22 Oct 2012 08:36:38 +0000
(10:36 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 22 Oct 2012 08:36:38 +0000
(10:36 +0200)
This is to ensure that struct timeval is defined.
src/client.c
patch
|
blob
|
history
diff --git
a/src/client.c
b/src/client.c
index
426b289
..
44ee5d5
100644
(file)
--- a/
src/client.c
+++ b/
src/client.c
@@
-33,6
+33,9
@@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#if HAVE_UNISTD_H
#include <unistd.h>
#endif
+#ifdef WIN32
+#include <windows.h>
+#endif
#include <signal.h>
#include <assert.h>