summaryrefslogtreecommitdiffstats
path: root/tdm/backend/dm.c
diff options
context:
space:
mode:
Diffstat (limited to 'tdm/backend/dm.c')
-rw-r--r--tdm/backend/dm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tdm/backend/dm.c b/tdm/backend/dm.c
index 627d2c23d..9168b88b5 100644
--- a/tdm/backend/dm.c
+++ b/tdm/backend/dm.c
@@ -54,6 +54,8 @@ from the copyright holder.
#endif
#ifdef HAVE_PTHREAD_SETNAME_NP
+#define _GNU_SOURCE
+#define __BSD_VISIBLE 1
#include <pthread.h>
#endif /* pthread_setname_np() */