Commit 2bf2179e authored by Antoine Kaufmann's avatar Antoine Kaufmann
Browse files

make sure utils all build under linux

parent 35bd150e
......@@ -7,7 +7,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stropts.h>
//#include <stropts.h>
#include <sys/ioctl.h>
#include <sys/stat.h>
#include <sys/time.h>
......@@ -283,6 +283,7 @@ main (int argc __attribute__ ((unused)), char *argv[])
if (slave < 0)
fail_io ("open \"%s\"", name);
#if 0
/* System V implementations need STREAMS configuration for the
slave. */
if (isastream (slave))
......@@ -291,6 +292,7 @@ main (int argc __attribute__ ((unused)), char *argv[])
|| ioctl (slave, I_PUSH, "ldterm") < 0)
fail_io ("ioctl");
}
#endif
/* Arrange to get notified when a child dies, by writing a byte
to a pipe fd. We really want to use pselect() and
......
......@@ -8,7 +8,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stropts.h>
//#include <stropts.h>
#include <sys/ioctl.h>
#include <sys/stat.h>
#include <sys/time.h>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment