summaryrefslogtreecommitdiff
path: root/nncmpp.c
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2021-11-02 17:17:32 +0100
committerPřemysl Eric Janouch <p@janouch.name>2021-11-02 17:17:32 +0100
commit6bd8c1db2fa84b414db73cfde842dfb31b039913 (patch)
treebec4db59b15bf7b6675fc03ebf171168f5b12424 /nncmpp.c
parent56efe9c6a958a0bf02e48379e3627bd7faa07265 (diff)
downloadnncmpp-6bd8c1db2fa84b414db73cfde842dfb31b039913.tar.gz
nncmpp-6bd8c1db2fa84b414db73cfde842dfb31b039913.tar.xz
nncmpp-6bd8c1db2fa84b414db73cfde842dfb31b039913.zip
CMakeLists.txt: fix macOS build
Diffstat (limited to 'nncmpp.c')
-rw-r--r--nncmpp.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/nncmpp.c b/nncmpp.c
index 2f47053..2ae493d 100644
--- a/nncmpp.c
+++ b/nncmpp.c
@@ -78,9 +78,7 @@ enum
#include <math.h>
#include <locale.h>
#include <termios.h>
-#ifndef TIOCGWINSZ
#include <sys/ioctl.h>
-#endif // ! TIOCGWINSZ
// ncurses is notoriously retarded for input handling, we need something
// different if only to receive mouse events reliably.