From 85800b0a339b7a782cb6abe5b7fedb52107b92f7 Mon Sep 17 00:00:00 2001 From: Brian Candler Date: Thu, 14 Dec 2017 10:30:49 +0000 Subject: [PATCH] Fix crackcheck Makefile to allow building on Ubuntu --- examples/auth/crackcheck/Makefile | 2 +- examples/auth/crackcheck/crackcheck.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/auth/crackcheck/Makefile b/examples/auth/crackcheck/Makefile index 84377aafefe..edc764529b3 100644 --- a/examples/auth/crackcheck/Makefile +++ b/examples/auth/crackcheck/Makefile @@ -15,7 +15,7 @@ OBJS = crackcheck.o LIBS = -lcrack crackcheck: $(OBJS) - $(CC) $(CFLAGS) $(LIBS) -o crackcheck $(OBJS) + $(CC) $(CFLAGS) -o crackcheck $(OBJS) $(LIBS) clean: rm -f core *.o crackcheck diff --git a/examples/auth/crackcheck/crackcheck.c b/examples/auth/crackcheck/crackcheck.c index 0c997bb00b6..c3037756f42 100644 --- a/examples/auth/crackcheck/crackcheck.c +++ b/examples/auth/crackcheck/crackcheck.c @@ -4,6 +4,7 @@ #include #include #include +#include void usage(char *command) { char *c, *comm;