diff options
Diffstat (limited to 'peripheral')
-rw-r--r-- | peripheral/attach.c | 1 | ||||
-rw-r--r-- | peripheral/efivars.c | 1 | ||||
-rw-r--r-- | peripheral/log.c | 1 | ||||
-rw-r--r-- | peripheral/main.c | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/peripheral/attach.c b/peripheral/attach.c index a70ca55c7..1de02ac04 100644 --- a/peripheral/attach.c +++ b/peripheral/attach.c @@ -25,6 +25,7 @@ #include <config.h> #endif +#define _GNU_SOURCE #include <fcntl.h> #include <unistd.h> #include <sys/ioctl.h> diff --git a/peripheral/efivars.c b/peripheral/efivars.c index a86031fbd..3cc213c0c 100644 --- a/peripheral/efivars.c +++ b/peripheral/efivars.c @@ -25,6 +25,7 @@ #include <config.h> #endif +#define _GNU_SOURCE #include <stdio.h> #include <errno.h> #include <fcntl.h> diff --git a/peripheral/log.c b/peripheral/log.c index 7aaeb4d8c..d5834eb72 100644 --- a/peripheral/log.c +++ b/peripheral/log.c @@ -25,6 +25,7 @@ #include <config.h> #endif +#define _GNU_SOURCE #include <stdio.h> #include <errno.h> #include <fcntl.h> diff --git a/peripheral/main.c b/peripheral/main.c index 93abe2042..75427ab3a 100644 --- a/peripheral/main.c +++ b/peripheral/main.c @@ -25,6 +25,7 @@ #include <config.h> #endif +#define _GNU_SOURCE #include <stdio.h> #include <errno.h> #include <unistd.h> |