X-Git-Url: https://git.ao2.it/visomat-utils.git/blobdiff_plain/49d57f3f34f76b24d5bba6adae90d04c8e8ed406..802162fefcce3cda9325199d2fde2e897408e90a:/src/Makefile diff --git a/src/Makefile b/src/Makefile index 4ac4019..79105ea 100644 --- a/src/Makefile +++ b/src/Makefile @@ -36,6 +36,9 @@ ifeq ($(DEBUG),1) CFLAGS += -DDEBUG endif +# for getopt +CFLAGS += -D_POSIX_C_SOURCE=2 + CFLAGS += $(shell pkg-config --cflags libusb-1.0) LDLIBS := $(shell pkg-config --libs libusb-1.0)