X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Futils_dns.c;h=eefde9683de10c25f100a9ec99056bf6e77ba549;hb=8aad55ab7d737a97d5927458b2b00885e27cae4d;hp=712b1aece8e3b1fe584715ee7e0e1e128cec97f4;hpb=84dd85dc85cc2325f9c54100ca3fd7d4842db06f;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"