diff --git a/src/statd/Makefile b/src/statd/Makefile index 8ae13c53..8a8eeb8f 100644 --- a/src/statd/Makefile +++ b/src/statd/Makefile @@ -1,4 +1,5 @@ CFLAGS += -Wall -Wextra -Werror +CPPFLAGS += -D_GNU_SOURCE LDLIBS += -lsysrepo -lev -lyang -ljansson -lite -lsrx TARGET = statd diff --git a/src/statd/shared.c b/src/statd/shared.c index 8d1aca8a..6db0d76b 100644 --- a/src/statd/shared.c +++ b/src/statd/shared.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ + #include #include #include diff --git a/src/statd/shared.h b/src/statd/shared.h index 0ff966dd..7689ed73 100644 --- a/src/statd/shared.h +++ b/src/statd/shared.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ + #ifndef STATD_SHARED_H_ #define STATD_SHARED_H_ diff --git a/src/statd/statd.c b/src/statd/statd.c index 5e033a5d..8cddaafd 100644 --- a/src/statd/statd.c +++ b/src/statd/statd.c @@ -1,4 +1,3 @@ -#define _GNU_SOURCE /* SPDX-License-Identifier: BSD-3-Clause */ #include