Portability fixes from Mats Erik Andersson <debian@gisladisker.se>

It restores compilability and most functionality for

   GNU/Linux,
   GNU/kFreeBSD,
   FreeBSD,
   OpenBSD,
   OpenSolaris/NexentaCore.
This commit is contained in:
pdw
2014-01-01 15:22:48 +00:00
parent 975b775fd0
commit 6d384fc12d
5 changed files with 16 additions and 5 deletions

2
ui.c
View File

@@ -6,7 +6,7 @@
#include <sys/types.h>
#include <ctype.h>
#include <curses.h>
#include <ncurses.h>
#include <errno.h>
#include <string.h>
#include <math.h>