Oops.
authorGuus Sliepen <guus@tinc-vpn.org>
Mon, 21 Jul 2003 13:15:36 +0000 (13:15 +0000)
committerGuus Sliepen <guus@tinc-vpn.org>
Mon, 21 Jul 2003 13:15:36 +0000 (13:15 +0000)
system.h

index c4dd0d14cdfe2a049fa63b395153ea523f23dab7..d4381dc5104ec82a845d6e463dc8b669380a00dd 100644 (file)
--- a/system.h
+++ b/system.h
 #include <errno.h>
 #include <fcntl.h>
 #include <unistd.h>
+
+#ifdef HAVE_TERMIOS_H
 #include <termios.h>
+#endif
 
 #ifdef HAVE_INTTYPES_H
 #include <inttypes.h>
@@ -72,7 +75,7 @@
 #endif
 
 #ifdef HAVE_SYS_PARAM_H
-#include <sys/ioctl.h>
+#include <sys/param.h>
 #endif
 
 /* SunOS really wants sys/socket.h BEFORE net/if.h,