aboutsummaryrefslogtreecommitdiff
path: root/readline/sysdep-norm.h
diff options
context:
space:
mode:
Diffstat (limited to 'readline/sysdep-norm.h')
-rw-r--r--readline/sysdep-norm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/readline/sysdep-norm.h b/readline/sysdep-norm.h
index d074cff..6cf1f34 100644
--- a/readline/sysdep-norm.h
+++ b/readline/sysdep-norm.h
@@ -37,6 +37,6 @@ typedef struct dirent dirent;
#define _POSIX_VERSION
#endif
-#ifdef _WIN32
+#if defined _WIN32 && !defined __GNUC__
#include <malloc.h>
#endif