the NetWare CLIB platform has no strings.h header, and therefore
compilation breaks in apps/apps.c (CVS HEAD):

--- apps/apps.c.orig    Wed May 13 13:32:45 2009
+++ apps/apps.c Fri Jun 12 15:05:42 2009
@@ -118,7 +118,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
-#ifndef OPENSSL_SYSNAME_WIN32
+#if !defined(OPENSSL_SYSNAME_WIN32) && !defined(NETWARE_CLIB)
 #include <strings.h>
 #endif
 #include <sys/types.h>


Since this is not the first time that this problem occurs (see #1945),
and most likely not the last time, it would probably make sense that we
use something like:

#ifdef HAVE_STRINGS_H
#include <strings.h>
#endif

and define HAVE_STRINGS_H platform-dependent in e_os.h, and make sure
that e_os.h is always first included.
Just a thought.

Günter,


--- apps/apps.c.orig	Wed May 13 13:32:45 2009
+++ apps/apps.c	Fri Jun 12 15:05:42 2009
@@ -118,7 +118,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
-#ifndef OPENSSL_SYSNAME_WIN32
+#if !defined(OPENSSL_SYSNAME_WIN32) && !defined(NETWARE_CLIB)
 #include <strings.h>
 #endif
 #include <sys/types.h>

Reply via email to