From 5abb9b91e8e5e824aa781334f6e4945fd33fcfa8 Mon Sep 17 00:00:00 2001 From: Felipe Balbi Date: Tue, 17 Jan 2017 15:04:07 +0200 Subject: [PATCH] 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: Felipe Balbi --- tools/usb/ffs-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/usb/ffs-test.c b/tools/usb/ffs-test.c index 88d5e71be044..64fc72acc892 100644 --- a/tools/usb/ffs-test.c +++ b/tools/usb/ffs-test.c @@ -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 #include -- 2.20.1