File iftop-implicit-pointer-decl.patch of Package iftop
diff --git a/Makefile.am b/Makefile.am
index 5009efd..2206245 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -10,6 +10,7 @@
# $Id: Makefile.am,v 1.12 2014/01/01 14:37:31 pdw Exp $
#
+AM_CPPFLAGS = -include $(top_builddir)/config.h
sbin_PROGRAMS = iftop
#iftop-dump
diff --git a/cfgfile.c b/cfgfile.c
index ad1edc8..89f7c6f 100644
--- a/cfgfile.c
+++ b/cfgfile.c
@@ -8,6 +8,7 @@
#include <stdio.h>
#include <string.h>
#include <errno.h>
+#include <stdlib.h>
#include "stringmap.h"
#include "iftop.h"
diff --git a/configure.in b/configure.in
index 6c369a8..32db3d9 100644
--- a/configure.in
+++ b/configure.in
@@ -34,7 +34,9 @@ AM_INIT_AUTOMAKE(iftop, "1.0pre3")
AC_DEFINE_UNQUOTED(IFTOP_VERSION, "$VERSION", [The iftop version number])
dnl Make sure we have a C compiler....
-AC_PROG_CC
+AC_PROG_CC_STDC
+AC_USE_SYSTEM_EXTENSIONS
+AC_SYS_LARGEFILE
AC_HEADER_STDC
dnl
diff --git a/edline.c b/edline.c
index 75f1a5a..d0d3093 100644
--- a/edline.c
+++ b/edline.c
@@ -7,6 +7,8 @@
static const char rcsid[] = "$Id: edline.c,v 1.2 2002/11/04 12:27:35 chris Exp $";
#include <ctype.h>
+#define NCURSES_NOMACROS 1
+#define NCURSES_OPAQUE 1
#include <curses.h>
#include <string.h>
diff --git a/options.h b/options.h
index 86620d9..9b841e6 100644
--- a/options.h
+++ b/options.h
@@ -96,5 +96,7 @@ typedef struct {
void options_set_defaults();
void options_read(int argc, char **argv);
+void options_read_args(int argc, char **argv);
+void options_make(void);
#endif /* __OPTIONS_H_ */
diff --git a/ui.c b/ui.c
index b85d63e..27a599d 100644
--- a/ui.c
+++ b/ui.c
@@ -3,6 +3,9 @@
*
*/
+#define NCURSES_NOMACROS 1
+#define NCURSES_OPAQUE 1
+
#include <sys/types.h>
#include <ctype.h>