summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFrancois Andriot <albator78@libertysurf.fr>2013-07-24 11:30:49 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-07-24 11:30:49 -0500
commit56ffa61b35fc088a0e7e2aa885b9ffed82c8d8be (patch)
tree0dcfb8d1afe70b736353021908bb6b2b335ff966 /src
parent066bae76e94c21604fe4132c4ca26e5b2f0c6375 (diff)
downloadknmap-56ffa61b35fc088a0e7e2aa885b9ffed82c8d8be.tar.gz
knmap-56ffa61b35fc088a0e7e2aa885b9ffed82c8d8be.zip
Fix FTBFS
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am2
-rw-r--r--src/scanmonitor.cpp1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 6a38c98..71494a2 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -31,7 +31,7 @@ knmap_SOURCES = main.cpp knmap.cpp mainwidget.cpp outputwidget.cpp \
tabwidgetptrlist.cpp tabwidgetdata.cpp scanwidget.cpp indexwidget.cpp scannamedialog.cpp \
scanstack.cpp scanmonitor.cpp scanmonitorevent.cpp nmapoutputbuffer.cpp
knmap_LDFLAGS = $(KDE_RPATH) $(all_libraries)
-knmap_LDADD = $(LIB_KIO) $(LIB_KHTML)
+knmap_LDADD = $(LIB_KIO) $(LIB_KHTML) $(LIB_KDEUI) $(LIB_KDECORE) $(LIB_QT)
# this is where the desktop file will go
shelldesktopdir = $(kde_appsdir)/Utilities
diff --git a/src/scanmonitor.cpp b/src/scanmonitor.cpp
index 413dd93..b3d2f4a 100644
--- a/src/scanmonitor.cpp
+++ b/src/scanmonitor.cpp
@@ -23,6 +23,7 @@
#include <errno.h>
#include <stdio.h>
#include <string.h>
+#include <unistd.h>
#include <sys/select.h>
#include <sys/time.h>