aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/s/sol2-5.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/s/sol2-5.h b/src/s/sol2-5.h
index 9931e97d375..6a7a550c956 100644
--- a/src/s/sol2-5.h
+++ b/src/s/sol2-5.h
@@ -24,6 +24,18 @@
24 24
25#undef USE_MMAP_FOR_BUFFERS 25#undef USE_MMAP_FOR_BUFFERS
26 26
27/* Newer versions of Solaris have bcopy etc. as functions, with
28 prototypes in strings.h. They lose if the defines from usg5-4.h
29 are visible, which happens when X headers are included. */
30#ifdef HAVE_BCOPY
31#undef bcopy
32#undef bzero
33#undef bcmp
34#ifndef NOT_C_CODE
35#include <strings.h>
36#endif
37#endif
38
27#if 0 /* A recent patch in unexelf.c should eliminate the need for this. */ 39#if 0 /* A recent patch in unexelf.c should eliminate the need for this. */
28/* Don't use the shared libraries for -lXt and -lXaw, 40/* Don't use the shared libraries for -lXt and -lXaw,
29 to work around a linker bug in Solaris 2.5. 41 to work around a linker bug in Solaris 2.5.