git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ba62fe3)
Seems we need <errno.h> to be included explicitly now...
Sat, 8 Jul 2000 05:30:33 +0000 (05:30 +0000)
Sat, 8 Jul 2000 05:30:33 +0000 (05:30 +0000)

diff --git a/src/backend/libpq/pqformat.c b/src/backend/libpq/pqformat.c
index 7275893c5c0fd49a8afa509beb8574fc4e7ac050..a591e4ead55215d1ef399b0dee56729ca018b348 100644 (file)
--- a/src/backend/libpq/pqformat.c
+++ b/src/backend/libpq/pqformat.c
@@ -16,7 +16,7 @@
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: pqformat.c,v 1.13 2000年04月12日 17:15:14 momjian Exp $
+ * $Id: pqformat.c,v 1.14 2000年07月08日 05:30:33 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -44,20 +44,22 @@
* Use the raw pqcomm.c routines pq_getstring or pq_getbytes
* to fetch data without conversion.
*/
+
#include "postgres.h"
+#include <errno.h>
+#ifdef HAVE_SYS_PARAM_H
+#include <sys/param.h>
+#endif
+
#include "libpq/libpq.h"
#include "libpq/pqformat.h"
-
#ifdef MULTIBYTE
#include "mb/pg_wchar.h"
#endif
#ifdef HAVE_ENDIAN_H
#include "endian.h"
#endif
-#ifdef HAVE_SYS_PARAM_H
-#include <sys/param.h>
-#endif
#ifndef BYTE_ORDER
#error BYTE_ORDER must be defined as LITTLE_ENDIAN, BIG_ENDIAN or PDP_ENDIAN
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /