summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndres Freund2017-10-01 22:24:14 +0000
committerAndres Freund2017-10-01 22:24:58 +0000
commit1f2830f9df9f0196ba541c1e253463afe657cb67 (patch)
tree801a338d28bc6b38128501e9c27b266bb8d822d7
parent784905795f8aadc09efe2fdae195279d17250f00 (diff)
Remove redundant stdint.h include.
Discussion: https://postgr.es/m/[email protected]
-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 bba0ca5490..0b2dcf52cb 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) */