Skip to content

Commit 6870819

Browse files
committed
Move __STDC_WANT_LIB_EXT1__ at build system level
1 parent 2be940f commit 6870819

File tree

3 files changed

+2
-1
lines changed

3 files changed

+2
-1
lines changed

Makefile.am

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ endif
2020
AM_CPPFLAGS += -D SCONFDIR='"@SCONFDIR@"'
2121

2222
noinst_LTLIBRARIES = libmodule.la
23+
libmodule_la_CFLAGS = -D__STDC_WANT_LIB_EXT1__=1
2324
libmodule_la_SOURCES = pam-u2f.c
2425
libmodule_la_SOURCES += b64.c b64.h
2526
libmodule_la_SOURCES += debug.c debug.h

explicit_bzero.c

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
* Written by Ted Unangst
66
*/
77

8-
#define __STDC_WANT_LIB_EXT1__ 1
98
#include <string.h>
109

1110
/*

pamu2fcfg/Makefile.am

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ AM_CPPFLAGS = -I$(srcdir)/.. $(LIBFIDO2_CFLAGS)
55

66
bin_PROGRAMS = pamu2fcfg
77

8+
pamu2fcfg_CFLAGS = -D__STDC_WANT_LIB_EXT1__=1
89
pamu2fcfg_SOURCES = pamu2fcfg.c
910
pamu2fcfg_SOURCES += readpassphrase.c _readpassphrase.h
1011
pamu2fcfg_SOURCES += strlcpy.c openbsd-compat.h

0 commit comments

Comments
 (0)