[git commit] udhcpc: fix a warning in debug code

Denys Vlasenko vda.linux at googlemail.com
Thu Mar 10 23:26:58 UTC 2016


commit: https://git.busybox.net/busybox/commit/?id=1b7c17391de66502dd7a97c866e0a33681edbb1f
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 networking/udhcp/domain_codec.c | 1 +
 1 file changed, 1 insertion(+)

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>


More information about the busybox-cvs mailing list