#include <stdio.h>
#include <unistd.h>
#include <string.h>
-#include <stropts.h>
+#ifndef NOSTREAMS
+# include <stropts.h>
+#endif
#include <stdlib.h>
#include <fcntl.h>
#include "ttyrec.h"
#include "io.h"
+#ifndef XCASE
+# define XCASE 0
+#endif
+
#define HAVE_inet_aton
#define HAVE_scsi_h
#define HAVE_kd_h
perror("open(fd, O_RDWR)");
fail();
} */
+#ifndef NOSTREAMS
if (isastream (slave))
{
if (ioctl (slave, I_PUSH, "ptem") < 0)
fail ();
}
#endif
- (void) ioctl (0, TIOCGWINSZ, (char *) &win);
}
+#endif /* !NOSTREAMS */
+ (void) ioctl (0, TIOCGWINSZ, (char *) &win);
}