From 359cfe47123c7dd8481c6a0ca8c7552805b72871 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Tue, 25 Sep 2018 08:35:06 +0200 Subject: [PATCH] hci_dump: fix compile warnings (request POSIX support) --- src/hci_dump.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/hci_dump.c b/src/hci_dump.c index 4ba1fd449..cc709e661 100644 --- a/src/hci_dump.c +++ b/src/hci_dump.c @@ -51,6 +51,9 @@ #include "btstack_config.h" +// enable POSIX functions (needed for -std=c99) +#define _POSIX_C_SOURCE 200809 + #include "hci_dump.h" #include "hci.h" #include "hci_transport.h"