diff options
author | antirez <antirez@gmail.com> | 2014-12-09 12:59:36 +0100 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2014-12-09 12:59:46 +0100 |
commit | 5f5a9f0d14b4b9f2f65393f2764ee760475f6b8c (patch) | |
tree | b6b0915cfff78f45d67ca7ae4cd43ead23547d80 | |
parent | f04ec18a36a55e73106aeadb17ad36b7589c7f17 (diff) | |
download | redis-5f5a9f0d14b4b9f2f65393f2764ee760475f6b8c.tar.gz |
Include stropts only if __sun is defined.
-rw-r--r-- | src/memtest.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/memtest.c b/src/memtest.c index e424e528b..39fc4fcaa 100644 --- a/src/memtest.c +++ b/src/memtest.c @@ -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) |