aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/examples/termemu.cc
diff options
context:
space:
mode:
authorGravatar john hood <cgull@glup.org>2014-09-21 23:40:39 -0400
committerGravatar John Hood <cgull@glup.org>2015-05-25 02:17:24 -0400
commit060061aa212e5b243fa85afa4f02aa25699116a8 (patch)
tree705ed0afe7707ffb87bd6f6adf57d53dc7607e9b /src/examples/termemu.cc
parent30c09b4613b84525445b86fb221b4e77dd8094b0 (diff)
Fix forkpty() for FreeBSD 10.
Diffstat (limited to 'src/examples/termemu.cc')
-rw-r--r--src/examples/termemu.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/examples/termemu.cc b/src/examples/termemu.cc
index b85a729..bdbbbb4 100644
--- a/src/examples/termemu.cc
+++ b/src/examples/termemu.cc
@@ -56,6 +56,8 @@
#include <pty.h>
#elif HAVE_UTIL_H
#include <util.h>
+#elif HAVE_LIBUTIL_H
+#include <libutil.h>
#endif
#include "parser.h"