Source

srw / srw.c

Diff from to
-#include <sys/wait.h>
-#include <unistd.h>
 #include <err.h>
 #include <signal.h>
+#include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#include <termios.h>
+#include <unistd.h>
+
+#include <sys/ioctl.h>
 #include <sys/select.h>
-#include <stdio.h>
-#include <pty.h>
-#include <termios.h>
-#include <sys/ioctl.h>
+#include <sys/wait.h>
+
+#ifdef LINUX
+ #include <pty.h>
+#else  // LINUX
+ #include <util.h>
+#endif // LINUX
 
 #define STDIN  0
 #define STDOUT 1