Commit 5abb9b91 authored by Felipe Balbi's avatar Felipe Balbi
Browse files

tools: usb: ffs-test: switch to _DEFAULT_SOURCE



_BSD_SOURCE is deprecated and gives a build warning. Let's use
_DEFAULT_SOURCE instead.

Signed-off-by: default avatarFelipe Balbi <felipe.balbi@linux.intel.com>
parent ffb80fc6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@
/* $(CROSS_COMPILE)cc -Wall -Wextra -g -o ffs-test ffs-test.c -lpthread */


#define _BSD_SOURCE /* for endian.h */
#define _DEFAULT_SOURCE /* for endian.h */

#include <endian.h>
#include <errno.h>