X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Futils_dns.c;h=eefde9683de10c25f100a9ec99056bf6e77ba549;hb=10692e3f990377ad4e0918977d3f9431b222d1bc;hp=712b1aece8e3b1fe584715ee7e0e1e128cec97f4;hpb=5c78be034ebf8edbf2ae98e9163a38b2d61fbb68;p=collectd.git diff --git a/src/utils_dns.c b/src/utils_dns.c index 712b1aec..eefde968 100644 --- a/src/utils_dns.c +++ b/src/utils_dns.c @@ -3,10 +3,10 @@ * Copyright (C) 2006 Florian octo Forster * Copyright (C) 2002 The Measurement Factory, Inc. * All rights reserved. - * + * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: - * + * * 1. Redistributions of source code must retain the above copyright notice, * this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright notice, @@ -33,6 +33,7 @@ * Florian octo Forster */ +#define _DEFAULT_SOURCE #define _BSD_SOURCE #include "collectd.h"