diff options
author | Alejandro Colomar <alx@kernel.org> | 2023-05-20 21:05:34 +0200 |
---|---|---|
committer | Alejandro Colomar <alx@kernel.org> | 2023-05-20 21:05:34 +0200 |
commit | 2bed52f1c858e6b4289a03d5bce05cbe7b78b6f9 (patch) | |
tree | 2dede18ce878b9705fab70c250dd3e2bf48bbd13 | |
parent | 1d5e90df76ceda5984718bacd4681617e2fafe84 (diff) |
Makefile, nxt_unit_app_test.c: Set ftm(7) in $CPPFLAGS
Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | src/nxt_unit_app_test.c | 1 |
2 files changed, 1 insertions, 2 deletions
@@ -14,7 +14,7 @@ LIBUNIT_PREFIX := /opt/local/unit LIBUNIT_CPPFLAGS := -isystem$(LIBUNIT_PREFIX)/include LIBUNIT_LIBS := -L$(LIBUNIT_PREFIX)/lib -lunit -DEFAULT_CPPFLAGS := $(LIBUNIT_CPPFLAGS) +DEFAULT_CPPFLAGS := -D_GNU_SOURCE $(LIBUNIT_CPPFLAGS) EXTRA_CPPFLAGS := CPPFLAGS := $(DEFAULT_CPPFLAGS) $(EXTRA_CPPFLAGS) diff --git a/src/nxt_unit_app_test.c b/src/nxt_unit_app_test.c index d4fea18..a5dc1aa 100644 --- a/src/nxt_unit_app_test.c +++ b/src/nxt_unit_app_test.c @@ -3,7 +3,6 @@ * Copyright (C) NGINX, Inc. */ -#define _GNU_SOURCE #include <nxt_unit.h> #include <nxt_unit_request.h> //#include <nxt_clang.h> |