summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel@rtems.org>2021-12-16 15:23:16 -0600
committerJoel Sherrill <joel@rtems.org>2021-12-16 15:26:39 -0600
commit161ccd0177ef13bce3a211f8df496bb49d052000 (patch)
tree1e4c179258b6f05812b8ad0a561925bfd2b99d3f
parentrtems-bsp-builder: Fix mail support (diff)
downloadrtems-tools-161ccd0177ef13bce3a211f8df496bb49d052000.tar.bz2
rtems-bin2c.c: Add _GNU_SOURCE to see strnlen() and strdup()
Addresses warnings.
-rw-r--r--misc/bin2c/rtems-bin2c.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/misc/bin2c/rtems-bin2c.c b/misc/bin2c/rtems-bin2c.c
index 7ed79dd..fcf6d2a 100644
--- a/misc/bin2c/rtems-bin2c.c
+++ b/misc/bin2c/rtems-bin2c.c
@@ -25,6 +25,7 @@
*
*/
+#define _GNU_SOURCE
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>