diff --git a/include/vlc_network.h b/include/vlc_network.h
index 1e4d8f73c060b4da04e7fb0e1b75714aea98111a..e13a8ebda356c913702a05546c7c765e218f75d4 100644
--- a/include/vlc_network.h
+++ b/include/vlc_network.h
@@ -32,12 +32,7 @@
 # define __VLC_NETWORK_H
 
 #if defined( WIN32 )
-#   if defined(UNDER_CE) && defined(sockaddr_storage)
-#       undef sockaddr_storage
-#   endif
-#   if defined(UNDER_CE)
-#       define HAVE_STRUCT_ADDRINFO
-#   else
+#   if !defined(UNDER_CE)
 #       define _NO_OLDNAMES 1
 #       include <io.h>
 #   endif