Include stropts only if __sun is defined.

This commit is contained in:
antirez
2014-12-09 12:59:43 +01:00
parent d409371193
commit 77b997d429
+2
View File
@@ -35,7 +35,9 @@
#include <errno.h>
#include <termios.h>
#include <sys/ioctl.h>
#if defined(__sun)
#include <stropts.h>
#endif
#include "config.h"
#if (ULONG_MAX == 4294967295UL)