summaryrefslogtreecommitdiff
path: root/libusb/os/threads_posix.c
diff options
context:
space:
mode:
Diffstat (limited to 'libusb/os/threads_posix.c')
-rw-r--r--libusb/os/threads_posix.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libusb/os/threads_posix.c b/libusb/os/threads_posix.c
index ec2d19a..e8e87bb 100644
--- a/libusb/os/threads_posix.c
+++ b/libusb/os/threads_posix.c
@@ -22,9 +22,7 @@
#include <config.h>
#if defined(__linux__) || defined(__OpenBSD__)
-# if defined(__linux__)
-# define _GNU_SOURCE
-# else
+# if defined(__OpenBSD__)
# define _BSD_SOURCE
# endif
# include <unistd.h>