ncurses_wrap.c in ncursesw-1.4.6 vs ncurses_wrap.c in ncursesw-1.4.7
- old
+ new
@@ -73,9 +73,13 @@
#ifdef HAVE_CLOCK_GETTIME
#include <time.h>
#endif
+#ifdef HAVE_SYS_TIME_H
+#include <sys/time.h>
+#endif
+
VALUE mNcurses; /* module Ncurses */
VALUE cWINDOW; /* class Ncurses::WINDOW */
VALUE cSCREEN; /* class Ncurses::SCREEN */
VALUE eNcurses; /* Ncurses::Exception thrown by this extension */