diff options
author | David Michael <fedora.dm0@gmail.com> | 2012-12-14 19:57:01 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-12-15 18:17:39 (GMT) |
commit | b3e103dabeb01555f8766b74de73493f7a6ba048 (patch) | |
tree | 35350d1184938f7ed584435cb33578837ab9fd69 /git-compat-util.h | |
parent | 110d6985463886ecc53dbafe32e626704ec612cb (diff) | |
download | git-b3e103dabeb01555f8766b74de73493f7a6ba048.zip git-b3e103dabeb01555f8766b74de73493f7a6ba048.tar.gz git-b3e103dabeb01555f8766b74de73493f7a6ba048.tar.bz2 |
Generalize the inclusion of strings.h
The header strings.h was formerly only included for HP NonStop (aka
Tandem) to define strcasecmp, but another platform requiring this
inclusion has been found. The build system will now include the
file based on its presence determined by configure.
Signed-off-by: David Michael <fedora.dm0@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-compat-util.h')
-rw-r--r-- | git-compat-util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-compat-util.h b/git-compat-util.h index ace1549..d7359ef 100644 --- a/git-compat-util.h +++ b/git-compat-util.h @@ -99,7 +99,7 @@ #include <stdlib.h> #include <stdarg.h> #include <string.h> -#ifdef __TANDEM /* or HAVE_STRINGS_H or !NO_STRINGS_H? */ +#ifdef HAVE_STRINGS_H #include <strings.h> /* for strcasecmp() */ #endif #include <errno.h> |