[OpenAFS-devel] strings.h or strings.h

Derrick J Brashear shadow@dementia.org
Fri, 3 Aug 2001 01:21:32 -0400 (EDT)


On Sun, 29 Jul 2001, Chas Williams wrote:

> 
> in the 1.1.1 sources the string.h/strings.h problems seems to be have
> been resolved in the following fashion:
> 
> #ifdef HAVE_STRINGS_H
> #include <strings.h>
> #else
> #ifdef HAVE_STRING_H
> #include <string.h>
> #endif
> #endif
> 
> for solaris this is fine.  almost everything is in strings.h.  for linux
> this is a poor choice.  almost everything is in string.h.  unfortunately
> both header files, strings.h and string.h seem to be included on both
> systems.  espc on the ia64, where when you miss prototypes you know it.
> what should be done about this?  
> 
> . make configure decide which is better

it's going to have to be this because

> . just include both

doesn't work on AIX.

-D