summaryrefslogtreecommitdiff
path: root/AppPkg/Applications/Python/PyMod-2.7.2/Modules/socketmodule.h
diff options
context:
space:
mode:
Diffstat (limited to 'AppPkg/Applications/Python/PyMod-2.7.2/Modules/socketmodule.h')
-rw-r--r--AppPkg/Applications/Python/PyMod-2.7.2/Modules/socketmodule.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/AppPkg/Applications/Python/PyMod-2.7.2/Modules/socketmodule.h b/AppPkg/Applications/Python/PyMod-2.7.2/Modules/socketmodule.h
index 56ee42222..1190bfd9d 100644
--- a/AppPkg/Applications/Python/PyMod-2.7.2/Modules/socketmodule.h
+++ b/AppPkg/Applications/Python/PyMod-2.7.2/Modules/socketmodule.h
@@ -8,7 +8,7 @@
# include <sys/socket.h>
# endif
# include <netinet/in.h>
-# if !(defined(UEFI_ENV) || defined(__BEOS__) || defined(__CYGWIN__) || (defined(PYOS_OS2) && defined(PYCC_VACPP)))
+# if !(defined(UEFI_C_SOURCE) || defined(__BEOS__) || defined(__CYGWIN__) || (defined(PYOS_OS2) && defined(PYCC_VACPP)))
# include <netinet/tcp.h>
# endif