Fix OpenBSD build

This commit is contained in:
2015-07-30 18:11:29 +02:00
parent 637a3d2bf7
commit cfc78ffdf0
2 changed files with 29 additions and 10 deletions

View File

@@ -59,7 +59,7 @@ enum
#include <wchar.h>
#include <termios.h>
#ifndef TIOCGWINSZ
#ifdef TIOCGWINSZ
#include <sys/ioctl.h>
#endif // ! TIOCGWINSZ