[tlbuild] build failure: libs/zziplib/zziplib-0.13.58/zzip/stat.c needs #include <strings.h> for strcasecmp
Philipp Stephani
st_philipp at yahoo.de
Thu May 27 22:46:38 CEST 2010
Am 27.05.2010 um 19:23 schrieb Vladimir Volovich:
> "KB" == Karl Berry writes:
>
> KB> +#include <strings.h> Fine for your getting things going, but
> KB> certainly not something that can be applied. We don't want to get
> KB> back into the bad old days of including <strings.h>.
>
> linux man page for strcasecmp says that it is defined in <strings.h> as well..
Same for Mac OS X. The History section of strcasecmp(3) indeed says:
HISTORY
The strcasecmp() and strncasecmp() functions first appeared in 4.4BSD. Their prototypes existed previously in <string.h> before they were
moved to <strings.h> for IEEE Std 1003.1-2001 (``POSIX.1'') compliance.
So POSIX mandates strings.h:
http://www.opengroup.org/onlinepubs/009695399/basedefs/strings.h.html
More information about the tlbuild
mailing list