aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/portability.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/portability.h b/lib/portability.h
index 932752c6..a2a1cd79 100644
--- a/lib/portability.h
+++ b/lib/portability.h
@@ -178,6 +178,11 @@ int clearenv(void);
#include <util.h>
#elif !defined(__FreeBSD__)
#include <pty.h>
+#else
+#include <termios.h>
+#ifndef IUTF8
+#define IUTF8 0
+#endif
#endif
#ifndef __FreeBSD__