Include stropts only if __sun is defined.

This commit is contained in:
antirez 2014-12-09 12:59:36 +01:00
parent f04ec18a36
commit 5f5a9f0d14

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)