Index: runtime/bin/socket_macos.h |
diff --git a/runtime/bin/socket_macos.h b/runtime/bin/socket_macos.h |
index b77857c87d93af32b8e83ffc6a735d5c23cd7689..dce6d9710b4cde3842f67d6c9f844d413446833f 100644 |
--- a/runtime/bin/socket_macos.h |
+++ b/runtime/bin/socket_macos.h |
@@ -5,6 +5,10 @@ |
#ifndef BIN_SOCKET_MACOS_H_ |
#define BIN_SOCKET_MACOS_H_ |
+#if !defined(BIN_SOCKET_H_) |
+#error Do not include socket_macos.h directly. Use socket.h. |
+#endif |
+ |
#include <arpa/inet.h> |
#include <netdb.h> |
#include <sys/socket.h> |