SVR4 OS'es put the ANSI standard funcs (memcpy, memset, etc) in <string.h> and the BSD compatibility funcs (bcopy, bzero, etc) in <strings.h>
If you look in <X11/Xos.h> you'll see other OS'es needed this as well in the past, but Solaris is the only one of those libxkbcommon is being ported to. Signed-off-by: Alan Coopersmith <[email protected]> --- src/XKBcommonint.h | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/XKBcommonint.h b/src/XKBcommonint.h index def7224..1a25b4e 100644 --- a/src/XKBcommonint.h +++ b/src/XKBcommonint.h @@ -29,6 +29,9 @@ authorization from the authors. #include <stdlib.h> #include <string.h> +#ifdef __sun +#include <strings.h> +#endif #ifndef True #define True 1 -- 1.7.3.2 _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
