]> git.openstreetmap.org Git - nominatim.git/blobdiff - nominatim/postgresql.h
revert timezone setting
[nominatim.git] / nominatim / postgresql.h
index ebece6106c065ef391284a96604cd2ed739bcdd6..6a14e94e6ea56d33e2fd038979b677b0be601e04 100644 (file)
@@ -7,6 +7,8 @@
 #define PG_OID_INT8                    20
 #define PG_OID_INT4                    23
 
 #define PG_OID_INT8                    20
 #define PG_OID_INT4                    23
 
+#include <byteswap.h>
+
 #if __BYTE_ORDER == __BIG_ENDIAN
 #define PGint16(x)     (x)
 #define PGint32(x)     (x)
 #if __BYTE_ORDER == __BIG_ENDIAN
 #define PGint16(x)     (x)
 #define PGint32(x)     (x)