]> git.donarmstrong.com Git - samtools.git/commitdiff
fixed a compiling issue for Windows
authorHeng Li <lh3@live.co.uk>
Mon, 12 Jul 2010 01:08:56 +0000 (01:08 +0000)
committerHeng Li <lh3@live.co.uk>
Mon, 12 Jul 2010 01:08:56 +0000 (01:08 +0000)
knetfile.c

index 47a394aebd3d424798767641aff629ae0d11919b..e1be4d669b845babe504dc1bfd2e2ccbe806f593 100644 (file)
@@ -38,9 +38,7 @@
 #include <unistd.h>
 #include <sys/types.h>
 
-#ifdef _WIN32
-#include <winsock.h>
-#else
+#ifndef _WIN32
 #include <netdb.h>
 #include <arpa/inet.h>
 #include <sys/socket.h>