mirror of
https://github.com/Fishwaldo/open-zwave.git
synced 2025-07-06 21:18:26 +00:00
Fix warning on wcsdup implicit declaration
Define __GNU_SOURCE in cpp/hidapi/linux/hid.c (like already done in cpp/hidapi/libusb/hid.c) to fix implicit declaration of wcsdup function
This commit is contained in:
parent
733975be76
commit
0878d93322
1 changed files with 2 additions and 0 deletions
|
@ -21,6 +21,8 @@
|
||||||
http://github.com/signal11/hidapi .
|
http://github.com/signal11/hidapi .
|
||||||
********************************************************/
|
********************************************************/
|
||||||
|
|
||||||
|
#define _GNU_SOURCE /* needed for wcsdup() before glibc 2.10 */
|
||||||
|
|
||||||
/* C */
|
/* C */
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue