Makefile: Solaris needs HAVE_ALLOCA_H for alloca()
[gitweb.git] / Makefile
index 3bd0c08f4b35d61deb26b0ee977602beabd8fe26..bbc26e8bd0a847441fb49f009d8f797a65fc869e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -753,7 +753,7 @@ ifeq ($(uname_S),SunOS)
        endif
        INSTALL = /usr/ucb/install
        TAR = gtar
-       BASIC_CFLAGS += -D__EXTENSIONS__ -D__sun__
+       BASIC_CFLAGS += -D__EXTENSIONS__ -D__sun__ -DHAVE_ALLOCA_H
 endif
 ifeq ($(uname_O),Cygwin)
        NO_D_TYPE_IN_DIRENT = YesPlease