diff options
-rw-r--r-- | Makefile.linux | 2 | ||||
-rw-r--r-- | log.c | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.linux b/Makefile.linux index 7650dfe..8ba780a 100644 --- a/Makefile.linux +++ b/Makefile.linux @@ -4,7 +4,7 @@ LFLAGS=-lutil -ltermcap PACKAGE=netnuke all: - cc -o $(PACKAGE) $(DEFINES) $(CFLAGS) $(LFLAGS) netnuke.c human_readable.c + cc -o $(PACKAGE) $(DEFINES) $(CFLAGS) $(LFLAGS) netnuke.c human_readable.c log.c strip netnuke clean: @@ -23,6 +23,9 @@ #include <string.h> #include <stdarg.h> #include <time.h> +#ifndef CLK_TCK + #define CLK_TCK CLOCKS_PER_SEC +#endif #include <ctype.h> FILE* loutfile; |