diff nnchat.c @ 217:7ba4e371e9a6

Add Makefile for OpenBSD, and specific #ifdef'd includes for the platform.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 21 Nov 2010 04:16:55 +0200
parents 3ccfe8902fd5
children 0e60593006c9
line wrap: on
line diff
--- a/nnchat.c	Sun Nov 21 04:14:08 2010 +0200
+++ b/nnchat.c	Sun Nov 21 04:16:55 2010 +0200
@@ -16,7 +16,11 @@
 #else
 #include <sys/wait.h>
 #endif
+#ifdef HAVE_NCURSES_H
+#include <ncurses.h>
+#else
 #include <curses.h>
+#endif
 
 #ifdef __WIN32
 #define SET_CONFIG_FILE    "nnchat.txt"