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