summaryrefslogtreecommitdiff
path: root/src/ls.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1999-03-20 04:07:01 +0000
committerJim Meyering <jim@meyering.net>1999-03-20 04:07:01 +0000
commita6ea4bd455c0bd9de4cecb58b85d104d48e35e73 (patch)
treeb95d1a318348232d66e064d2ef3d13e06bb394b2 /src/ls.c
parentf9ce2cffec0f811ea8e171c3e26e1f09d207030d (diff)
downloadcoreutils-a6ea4bd455c0bd9de4cecb58b85d104d48e35e73.tar.xz
[WINSIZE_IN_PTEM]: Include sys/stream.h and sys/ptem.h.
Required by SCO ODT 2.0 systems. Reported by William Bader.
Diffstat (limited to 'src/ls.c')
-rw-r--r--src/ls.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ls.c b/src/ls.c
index 17a0b33f1..e985a4b4c 100644
--- a/src/ls.c
+++ b/src/ls.c
@@ -55,6 +55,11 @@
# include <sys/ioctl.h>
#endif
+#ifdef WINSIZE_IN_PTEM
+# include <sys/stream.h>
+# include <sys/ptem.h>
+#endif
+
#include <stdio.h>
#include <grp.h>
#include <pwd.h>