Browse Source

mdig : fix compilation on some gcc versions

pull/33/head
bolvan 6 years ago
parent
commit
744d582c5f
  1. 2
      mdig/Makefile
  2. 2
      mdig/mdig.c

2
mdig/Makefile

@ -1,6 +1,6 @@
CC ?= gcc CC ?= gcc
CFLAGS += -s -O3 CFLAGS += -s -O3
LIBS = LIBS = -lpthread
SRC_FILES = *.c SRC_FILES = *.c
all: mdig all: mdig

2
mdig/mdig.c

@ -3,6 +3,8 @@
// ip list >stdout // ip list >stdout
// errors, verbose >stderr // errors, verbose >stderr
#define _GNU_SOURCE
#include <stdio.h> #include <stdio.h>
#include <stdarg.h> #include <stdarg.h>
#include <stdlib.h> #include <stdlib.h>

Loading…
Cancel
Save