summaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorDenys Vlasenko2016-03-11 00:26:58 +0100
committerDenys Vlasenko2016-03-11 00:26:58 +0100
commit1b7c17391de66502dd7a97c866e0a33681edbb1f (patch)
tree8c8ba38ac75e4a635f2218653f61712819a1d625 /networking
parentd474ffc68290e0a83651c4432eeabfa62cd51e87 (diff)
downloadbusybox-1b7c17391de66502dd7a97c866e0a33681edbb1f.zip
busybox-1b7c17391de66502dd7a97c866e0a33681edbb1f.tar.gz
udhcpc: fix a warning in debug code
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking')
-rw-r--r--networking/udhcp/domain_codec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/networking/udhcp/domain_codec.c b/networking/udhcp/domain_codec.c
index cee31f1..5a923cc 100644
--- a/networking/udhcp/domain_codec.c
+++ b/networking/udhcp/domain_codec.c
@@ -7,6 +7,7 @@
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
*/
#ifdef DNS_COMPR_TESTING
+# define _GNU_SOURCE
# define FAST_FUNC /* nothing */
# define xmalloc malloc
# include <stdlib.h>