summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2024-11-18 19:14:30 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2024-11-18 19:14:30 +0000
commit0b46c906bb1332aec1909c4c9afd72669f7ef12b (patch)
tree52d67a94428e329582f64444b2e460579934e0c1
parentaea105b74929663cd9766948b521a864941f5cab (diff)
parent0ffd0298d39ccffebec09750c79e0ae66f943e25 (diff)
Merge "_GNU_SOURCE is public; _USE_GNU is an implementation detail." into main
-rw-r--r--cmds/interrupter/interrupter.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/cmds/interrupter/interrupter.c b/cmds/interrupter/interrupter.c
index ae555150c969..8bb522a26cec 100644
--- a/cmds/interrupter/interrupter.c
+++ b/cmds/interrupter/interrupter.c
@@ -14,6 +14,7 @@
* limitations under the License.
*/
+#define _GNU_SOURCE
/**
* The probability of a syscall failing from 0.0 to 1.0
@@ -32,8 +33,6 @@
#include <sys/stat.h>
#include <fcntl.h>
-/* For builds on glibc */
-#define __USE_GNU
#include <dlfcn.h>
#include "interrupter.h"