Index: runtime/bin/socket_win.h |
diff --git a/runtime/bin/socket_win.h b/runtime/bin/socket_win.h |
index ab32ed3a17f697c47c9f0b32353899a0594310bd..7b71e384fb0a7ac10f544375344cbacdb9e287ba 100644 |
--- a/runtime/bin/socket_win.h |
+++ b/runtime/bin/socket_win.h |
@@ -5,6 +5,10 @@ |
#ifndef BIN_SOCKET_WIN_H_ |
#define BIN_SOCKET_WIN_H_ |
+#if !defined(BIN_SOCKET_H_) |
+#error Do not include socket_win.h directly. Use socket.h. |
+#endif |
+ |
#include <iphlpapi.h> |
#include <mswsock.h> |
#include <winsock2.h> |