aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am2
-rw-r--r--src/Makefile.in2
-rw-r--r--src/nukectl.c1
3 files changed, 3 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index d14b3bd..90e0f9c 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,7 +1,7 @@
sbin_PROGRAMS= netnuke
netnuke_CFLAGS=-Wall -W -Wstrict-prototypes -I../include -static
-netnuke_LDFLAGS=-L../libsysfs -lncurses -lpthread -lsysfs -all-static
+netnuke_LDFLAGS=-L../libsysfs -lssl -lncurses -lpthread -lsysfs -all-static
netnuke_SOURCES= bus.c \
misc.c \
diff --git a/src/Makefile.in b/src/Makefile.in
index bd9829b..e1fd2c2 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -185,7 +185,7 @@ top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
netnuke_CFLAGS = -Wall -W -Wstrict-prototypes -I../include -static
-netnuke_LDFLAGS = -L../libsysfs -lncurses -lpthread -lsysfs -all-static
+netnuke_LDFLAGS = -L../libsysfs -lssl -lncurses -lpthread -lsysfs -all-static
netnuke_SOURCES = bus.c \
misc.c \
netnuke.c \
diff --git a/src/nukectl.c b/src/nukectl.c
index 2404a5b..3ee3bc5 100644
--- a/src/nukectl.c
+++ b/src/nukectl.c
@@ -25,6 +25,7 @@
#include <unistd.h>
#include <pthread.h>
#include <fcntl.h>
+#include <openssl/ssl.h>
#include "netnuke.h"
FILE* randfp;