summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDavid Michael <fedora.dm0@gmail.com>2012-12-14 19:56:58 (GMT)
committerJunio C Hamano <gitster@pobox.com>2012-12-15 18:13:23 (GMT)
commit6ede720529b00115abe46b8ab524bf06c58047e2 (patch)
treebbbfba906aa57ede3587f8c4db43b54a09f5d095 /Makefile
parentbdd478d620034dc6517aea940f5dc6b88f780c04 (diff)
downloadgit-6ede720529b00115abe46b8ab524bf06c58047e2.zip
git-6ede720529b00115abe46b8ab524bf06c58047e2.tar.gz
git-6ede720529b00115abe46b8ab524bf06c58047e2.tar.bz2
Support builds when sys/param.h is missing
An option is added to the Makefile to skip the inclusion of sys/param.h. The only known platform with this condition thus far is the z/OS UNIX System Services environment. Signed-off-by: David Michael <fedora.dm0@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 6b73c14..81c12db 100644
--- a/Makefile
+++ b/Makefile
@@ -165,6 +165,8 @@ all::
# Define NO_POLL if you do not have or don't want to use poll().
# This also implies NO_SYS_POLL_H.
#
+# Define NO_SYS_PARAM_H if you don't have sys/param.h.
+#
# Define NO_PTHREADS if you do not have or do not want to use Pthreads.
#
# Define NO_PREAD if you have a problem with pread() system call (e.g.
@@ -1739,6 +1741,9 @@ endif
ifdef NO_SYS_POLL_H
BASIC_CFLAGS += -DNO_SYS_POLL_H
endif
+ifdef NO_SYS_PARAM_H
+ BASIC_CFLAGS += -DNO_SYS_PARAM_H
+endif
ifdef NO_INTTYPES_H
BASIC_CFLAGS += -DNO_INTTYPES_H
endif