$NetBSD: patch-ad,v 1.3 2010/03/12 14:36:57 tonio Exp $

Solaris build

--- src/gui/curses/gui-curses-window.c.orig	2010-01-27 09:59:01.000000000 +0000
+++ src/gui/curses/gui-curses-window.c
@@ -27,6 +27,8 @@
 #include <string.h>
 #include <stdarg.h>
 #include <libgen.h>
+#include <unistd.h>
+#include <termios.h>
 #include <sys/ioctl.h>
 
 #include "../../core/weechat.h"