projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6926b7e
)
Fix libhid compile with /recent/ libc (GNU_SOURCE)
author
Robin Gareus
<robin@gareus.org>
Sat, 20 May 2017 10:38:49 +0000
(12:38 +0200)
committer
Robin Gareus
<robin@gareus.org>
Sat, 20 May 2017 10:39:49 +0000
(12:39 +0200)
- strtok_r
- strdup
- wcsdup
libs/hidapi/linux/hid.c
patch
|
blob
|
history
diff --git
a/libs/hidapi/linux/hid.c
b/libs/hidapi/linux/hid.c
index 56dac0fab77fd384527e7e14cc0fea759b61e12a..bc6429e4e1f0e5f3e7d4bd1453e6641dd1634227 100644
(file)
--- a/
libs/hidapi/linux/hid.c
+++ b/
libs/hidapi/linux/hid.c
@@
-21,6
+21,8
@@
http://github.com/signal11/hidapi .
********************************************************/
+#define _POSIX_C_SOURCE 200809L
+
/* C */
#include <stdio.h>
#include <string.h>