mirror of
https://github.com/bol-van/zapret.git
synced 2025-05-24 22:32:58 +03:00
mdig : fix compilation on some gcc versions
This commit is contained in:
@@ -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
|
||||||
|
@@ -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>
|
||||||
|
Reference in New Issue
Block a user