1 --- a/cert-to-efi-sig-list.c
2 +++ b/cert-to-efi-sig-list.c
7 -#define __STDC_VERSION__ 199901L
17 -#define __STDC_VERSION__ 199901L
20 #include <kernel_efivars.h>
25 #include <openssl/x509.h>
27 -#define __STDC_VERSION__ 199901L
30 #include <kernel_efivars.h>
34 #include <openssl/err.h>
35 #include <openssl/pem.h>
37 -#define __STDC_VERSION__ 199901L
40 #include <kernel_efivars.h>
44 +#define _XOPEN_SOURCE 700
48 #include <sys/types.h>
53 -#define __STDC_VERSION__ 199901L
57 --- a/hash-to-efi-sig-list.c
58 +++ b/hash-to-efi-sig-list.c
63 -#define __STDC_VERSION__ 199901L
67 --- a/include/variableformat.h
68 +++ b/include/variableformat.h
74 +static inline BOOLEAN
75 IsValidVariableHeader (VARIABLE_HEADER *vh) {
76 if (vh == NULL || vh->StartId != VARIABLE_DATA)
78 --- a/lib/kernel_efivars.c
79 +++ b/lib/kernel_efivars.c
84 -#define __STDC_VERSION__ 199901L
87 #include <kernel_efivars.h>
88 --- a/sig-list-to-certs.c
89 +++ b/sig-list-to-certs.c
94 -#define __STDC_VERSION__ 199901L
98 --- a/sign-efi-sig-list.c
99 +++ b/sign-efi-sig-list.c
104 -#define __STDC_VERSION__ 199901L
105 +#define _XOPEN_SOURCE 700