summaryrefslogtreecommitdiff
path: root/StdLib/Include/sys/socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'StdLib/Include/sys/socket.h')
-rw-r--r--StdLib/Include/sys/socket.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/StdLib/Include/sys/socket.h b/StdLib/Include/sys/socket.h
index 8cc297d58b..11434ed641 100644
--- a/StdLib/Include/sys/socket.h
+++ b/StdLib/Include/sys/socket.h
@@ -86,8 +86,9 @@ typedef __socklen_t socklen_t;
#include <machine/ansi.h>
-#ifdef _BSD_SIZE_T_
-typedef _BSD_SIZE_T_ size_t;
+#ifdef _EFI_SIZE_T_
+typedef _EFI_SIZE_T_ size_t;
+#undef _EFI_SIZE_T_
#undef _BSD_SIZE_T_
#endif