summaryrefslogtreecommitdiffstats
path: root/src/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/util')
-rw-r--r--src/util/pty/ChangeLog4
-rw-r--r--src/util/pty/pty-int.h3
2 files changed, 7 insertions, 0 deletions
diff --git a/src/util/pty/ChangeLog b/src/util/pty/ChangeLog
index 5ef03f5f5..3fb21b9ac 100644
--- a/src/util/pty/ChangeLog
+++ b/src/util/pty/ChangeLog
@@ -1,3 +1,7 @@
+2004-09-22 Tom Yu <tlyu@mit.edu>
+
+ * pty-int.h: Include util.h if present.
+
2004-07-30 Tom Yu <tlyu@mit.edu>
* configure.in: Only sanity-check setutent() API if there is no
diff --git a/src/util/pty/pty-int.h b/src/util/pty/pty-int.h
index 1fa20a1d0..30f01d6ab 100644
--- a/src/util/pty/pty-int.h
+++ b/src/util/pty/pty-int.h
@@ -83,6 +83,9 @@
#include <string.h>
#include <sys/param.h>
+#ifdef HAVE_UTIL_H
+#include <util.h>
+#endif
#ifdef HAVE_STREAMS
/* krlogin doesn't test sys/tty... */