Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0552f8d

Browse files
committed
Seems we need <errno.h> to be included explicitly now...
1 parentba62fe3 commit0552f8d

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

‎src/backend/libpq/pqformat.c

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
1717
* Portions Copyright (c) 1994, Regents of the University of California
1818
*
19-
*$Id: pqformat.c,v 1.13 2000/04/12 17:15:14 momjian Exp $
19+
*$Id: pqformat.c,v 1.14 2000/07/08 05:30:33 tgl Exp $
2020
*
2121
*-------------------------------------------------------------------------
2222
*/
@@ -44,20 +44,22 @@
4444
* Use the raw pqcomm.c routines pq_getstring or pq_getbytes
4545
* to fetch data without conversion.
4646
*/
47+
4748
#include"postgres.h"
4849

50+
#include<errno.h>
51+
#ifdefHAVE_SYS_PARAM_H
52+
#include<sys/param.h>
53+
#endif
54+
4955
#include"libpq/libpq.h"
5056
#include"libpq/pqformat.h"
51-
5257
#ifdefMULTIBYTE
5358
#include"mb/pg_wchar.h"
5459
#endif
5560
#ifdefHAVE_ENDIAN_H
5661
#include"endian.h"
5762
#endif
58-
#ifdefHAVE_SYS_PARAM_H
59-
#include<sys/param.h>
60-
#endif
6163

6264
#ifndefBYTE_ORDER
6365
#error BYTE_ORDER must be defined as LITTLE_ENDIAN, BIG_ENDIAN or PDP_ENDIAN

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp