aboutsummaryrefslogtreecommitdiff
path: root/networking/udhcp/domain_codec.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2016-03-11 00:26:58 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2016-03-11 00:26:58 +0100
commit1b7c17391de66502dd7a97c866e0a33681edbb1f (patch)
tree8c8ba38ac75e4a635f2218653f61712819a1d625 /networking/udhcp/domain_codec.c
parentd474ffc68290e0a83651c4432eeabfa62cd51e87 (diff)
downloadbusybox-1b7c17391de66502dd7a97c866e0a33681edbb1f.tar.gz
udhcpc: fix a warning in debug code
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/udhcp/domain_codec.c')
-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 cee31f14d..5a923cc2c 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>