1 From d3e59724601b2aabb231f2e12e16ebf00ba79ab1 Mon Sep 17 00:00:00 2001
2 From: Caleb Marble <cm@marblenix.com>
3 Date: Sun, 2 Mar 2014 13:53:05 -0600
4 Subject: [PATCH] modified: ext/ncurses/ncurses_wrap.h
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
9 Fixes the following compiler error:
11 ext/ncurses/ncurses_wrap.c: In function ‘rbncurshelper_nonblocking_wgetch’:
12 ext/ncurses/ncurses_wrap.c:807:12: error: variable ‘tz’ has initializer but incomplete type
13 struct timezone tz = {0,0};
18 1 file changed, 1 insertion(+)
20 diff --git a/ncurses_wrap.h b/ncurses_wrap.h
21 index 85da4f8..92583c0 100644
24 @@ -84,6 +84,7 @@ int close(int);
28 +#include <sys/time.h>
30 extern VALUE mNcurses; /* module Ncurses */
31 extern VALUE cWINDOW; /* class Ncurses::WINDOW */