summaryrefslogtreecommitdiff
path: root/src/include/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/config.h')
-rw-r--r--src/include/config.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/include/config.h b/src/include/config.h
index d6110c6670d..36b50e5c4cc 100644
--- a/src/include/config.h
+++ b/src/include/config.h
@@ -15,6 +15,12 @@
#endif
#endif /* !defined(sparc_solaris) */
+#if defined(aix)
+#define TERMIOS_H_LOCATION <termios.h>
+#else
+#define TERMIOS_H_LOCATION <sys/termios.h>
+#endif
+
#define HAVE_MEMMOVE
#if defined(aix)
@@ -39,6 +45,7 @@
# define NEED_UNION_SEMUN
# define SB_PAD 40
# define HAS_TEST_AND_SET
+ include <sys/mman.h> /* for msemaphore */
typedef msemaphore slock_t;
#endif