uxc: fix build with uClibc-ng
authorDaniel Golle <daniel@makrotopia.org>
Mon, 13 Jul 2020 23:14:07 +0000 (00:14 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Mon, 13 Jul 2020 23:16:09 +0000 (00:16 +0100)
Also here _GNU_SOURCE was missing.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
uxc.c

diff --git a/uxc.c b/uxc.c
index a0a670623b7a48e6d6fef0d970fc90abdc810d04..13b4b8a9b20c6b588b7c4b8092a31a2a0206cb6b 100644 (file)
--- a/uxc.c
+++ b/uxc.c
  * GNU General Public License for more details.
  */
 
+#ifndef _GNU_SOURCE
+#define _GNU_SOURCE
+#endif
+
 #include <stdlib.h>
 #include <stdbool.h>
 #include <fcntl.h>