|
16 | 16 | * Portions Copyright (c) 1996-2000, PostgreSQL, Inc
|
17 | 17 | * Portions Copyright (c) 1994, Regents of the University of California
|
18 | 18 | *
|
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 $ |
20 | 20 | *
|
21 | 21 | *-------------------------------------------------------------------------
|
22 | 22 | */
|
|
44 | 44 | * Use the raw pqcomm.c routines pq_getstring or pq_getbytes
|
45 | 45 | * to fetch data without conversion.
|
46 | 46 | */
|
| 47 | + |
47 | 48 | #include"postgres.h"
|
48 | 49 |
|
| 50 | +#include<errno.h> |
| 51 | +#ifdefHAVE_SYS_PARAM_H |
| 52 | +#include<sys/param.h> |
| 53 | +#endif |
| 54 | + |
49 | 55 | #include"libpq/libpq.h"
|
50 | 56 | #include"libpq/pqformat.h"
|
51 |
| - |
52 | 57 | #ifdefMULTIBYTE
|
53 | 58 | #include"mb/pg_wchar.h"
|
54 | 59 | #endif
|
55 | 60 | #ifdefHAVE_ENDIAN_H
|
56 | 61 | #include"endian.h"
|
57 | 62 | #endif
|
58 |
| -#ifdefHAVE_SYS_PARAM_H |
59 |
| -#include<sys/param.h> |
60 |
| -#endif |
61 | 63 |
|
62 | 64 | #ifndefBYTE_ORDER
|
63 | 65 | #error BYTE_ORDER must be defined as LITTLE_ENDIAN, BIG_ENDIAN or PDP_ENDIAN
|
|