Skip to content

Commit

Permalink
modified: ext/ncurses/ncurses_wrap.h
Browse files Browse the repository at this point in the history
Fixes the following compiler error:

ext/ncurses/ncurses_wrap.c: In function ‘rbncurshelper_nonblocking_wgetch’:
ext/ncurses/ncurses_wrap.c:807:12: error: variable ‘tz’ has initializer but incomplete type
     struct timezone tz = {0,0};

Also closes #6
  • Loading branch information
Caleb Marble committed Mar 2, 2014
1 parent 074ab54 commit d3e5972
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ext/ncurses/ncurses_wrap.h
Expand Up @@ -84,6 +84,7 @@ int close(int);
#endif

#include <ruby.h>
#include <sys/time.h>

extern VALUE mNcurses; /* module Ncurses */
extern VALUE cWINDOW; /* class Ncurses::WINDOW */
Expand Down

0 comments on commit d3e5972

Please sign in to comment.