aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/s/sol2-4.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/s/sol2-4.h b/src/s/sol2-4.h
new file mode 100644
index 00000000000..e2ed1181264
--- /dev/null
+++ b/src/s/sol2-4.h
@@ -0,0 +1,11 @@
1/* Handle Solaris 2.4. */
2
3#ifdef __GNUC__
4#ifdef i386
5/* Since we use gcc -traditional, we have to work around a bogus "volatile" in
6 <sys/machlock.h>. Must do this before #include "sol2-3.h". */
7#define volatile
8#endif /* i386 */
9#endif /* __GNUC__ */
10
11#include "sol2-3.h"