summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKevin E Martin <kem@kem.org>2005-12-03 04:41:52 +0000
committerKevin E Martin <kem@kem.org>2005-12-03 04:41:52 +0000
commit914624d1fb3924c76e5dc358bb43b4dff800280c (patch)
tree768d3714fa87d4dc1e2932e11b8ebf18f6a43db3 /src
parent0f0572fd4b9de8747741ff81d668edfe23db0e15 (diff)
Add check and cflags for malloc(0) returning NULL.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 6630eeb..3487d5c 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -2,6 +2,6 @@ lib_LTLIBRARIES = libXxf86vm.la
libXxf86vm_la_SOURCES = XF86VMode.c
-AM_CFLAGS = $(XXF86VM_CFLAGS)
+AM_CFLAGS = $(XXF86VM_CFLAGS) $(MALLOC_ZERO_CFLAGS)
libXxf86vm_la_LIBADD = $(XXF86VM_LIBS)
libXxf86vm_la_LDFLAGS = -version-number 1:0:0