summaryrefslogtreecommitdiffstats
path: root/src/google/protobuf-c/protobuf-c-data-buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/google/protobuf-c/protobuf-c-data-buffer.c')
-rwxr-xr-x[-rw-r--r--]src/google/protobuf-c/protobuf-c-data-buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/google/protobuf-c/protobuf-c-data-buffer.c b/src/google/protobuf-c/protobuf-c-data-buffer.c
index c7ead5d..4549c3b 100644..100755
--- a/src/google/protobuf-c/protobuf-c-data-buffer.c
+++ b/src/google/protobuf-c/protobuf-c-data-buffer.c
@@ -35,7 +35,7 @@
#include <errno.h>
#if HAVE_ALLOCA_H
# include <alloca.h>
-#elif HAVE_MALLOC_H
+#elif defined HAVE_MALLOC_H
# include <malloc.h>
#endif
#include <stdlib.h>