summaryrefslogtreecommitdiffstats
path: root/src/google/protobuf-c/protobuf-c-dispatch.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/google/protobuf-c/protobuf-c-dispatch.c')
-rwxr-xr-x[-rw-r--r--]src/google/protobuf-c/protobuf-c-dispatch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/google/protobuf-c/protobuf-c-dispatch.c b/src/google/protobuf-c/protobuf-c-dispatch.c
index ff1e0e0..e280d77 100644..100755
--- a/src/google/protobuf-c/protobuf-c-dispatch.c
+++ b/src/google/protobuf-c/protobuf-c-dispatch.c
@@ -51,7 +51,7 @@
#include <assert.h>
#if HAVE_ALLOCA_H
# include <alloca.h>
-#elif HAVE_MALLOC_H
+#elif defined HAVE_MALLOC_H
# include <malloc.h>
#endif
#include <sys/time.h>