]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
fixup unbound control compilation on windows.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Mon, 20 Oct 2008 15:41:12 +0000 (15:41 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Mon, 20 Oct 2008 15:41:12 +0000 (15:41 +0000)
git-svn-id: file:///svn/unbound/trunk@1314 be551aaa-1e26-0410-a405-d3ace91eadb9

doc/Changelog
smallapp/unbound-control.c

index 45f46a90ec5aa2f4ff08fc889a635e563a368723..f836dc35baa91c411b7a8a9eee0e15a2fe8c54ff 100644 (file)
@@ -14,6 +14,7 @@
          so that if a zone is bad on one server but not another, it is 
          likely to pick up the 'correct' one after a couple minutes,
          and if the TTL is big enough that solves validation for the zone.
+       - fixup unbound-control compilation on windows.
 
 17 October 2008: Wouter
        - port Leopard/G5: fixup type conversion size_t/uint32.
index 9d39334cd964693047b498ce5552bd4f5f6d5ac2..2329568690d2b4bbab868c69457474a6d20ea7ce 100644 (file)
@@ -302,6 +302,10 @@ int main(int argc, char* argv[])
        int c, ret;
        char* cfgfile = CONFIGFILE;
        char* svr = NULL;
+#ifdef USE_WINSOCK
+       int r;
+       WSADATA wsa_data;
+#endif
 #ifdef USE_THREAD_DEBUG
        /* stop the file output from unbound-control, overwites the servers */
        extern int check_locking_order;