aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/include/port/pg_bswap.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/port/pg_bswap.h b/src/include/port/pg_bswap.h
index bba0ca5490d..0b2dcf52cb5 100644
--- a/src/include/port/pg_bswap.h
+++ b/src/include/port/pg_bswap.h
@@ -21,10 +21,10 @@
#define PG_BSWAP_H
-/* In all supported versions msvc provides _byteswap_* functions in stdlib.h */
-#ifdef _MSC_VER
-#include <stdlib.h>
-#endif
+/*
+ * In all supported versions msvc provides _byteswap_* functions in stdlib.h,
+ * already included by c.h.
+ */
/* implementation of uint16 pg_bswap16(uint16) */