summaryrefslogtreecommitdiff
path: root/compat/win32
diff options
context:
space:
mode:
authorErik Faye-Lund <kusmabite@gmail.com>2010-11-04 01:35:21 (GMT)
committerJunio C Hamano <gitster@pobox.com>2010-11-04 23:53:51 (GMT)
commitfdc12114635581b6901940ddb467a78716bc12ca (patch)
tree91c5d4cb9aa2fe9e2f0999779069168c716a167e /compat/win32
parent49521af8a818039f8daf18f2160c4d1e7dbb4270 (diff)
downloadgit-fdc12114635581b6901940ddb467a78716bc12ca.zip
git-fdc12114635581b6901940ddb467a78716bc12ca.tar.gz
git-fdc12114635581b6901940ddb467a78716bc12ca.tar.bz2
mingw: use poll-emulation from gnulib
Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat/win32')
-rw-r--r--compat/win32/sys/poll.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/compat/win32/sys/poll.c b/compat/win32/sys/poll.c
index 092d05e..7e74ebe 100644
--- a/compat/win32/sys/poll.c
+++ b/compat/win32/sys/poll.c
@@ -24,8 +24,7 @@
# pragma GCC diagnostic ignored "-Wtype-limits"
#endif
-#include <config.h>
-#include <alloca.h>
+#include <malloc.h>
#include <sys/types.h>
#include "poll.h"