Skip to content

Commit 2b7777b

Browse files
committed
cygwin doesn't have an endian.h, but defines BYTE_ORDER in sys/param.h
1 parent 2119cc0 commit 2b7777b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/backend/libpq/pqformat.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*
1616
* Copyright (c) 1994, Regents of the University of California
1717
*
18-
* $Id: pqformat.c,v 1.9 1999/09/11 22:28:05 tgl Exp $
18+
* $Id: pqformat.c,v 1.10 1999/09/12 22:27:47 scrappy Exp $
1919
*
2020
*-------------------------------------------------------------------------
2121
*/
@@ -54,6 +54,9 @@
5454
#ifdef HAVE_ENDIAN_H
5555
#include "endian.h"
5656
#endif
57+
#ifdef HAVE_SYS_PARAM_H
58+
#include <sys/param.h>
59+
#endif
5760

5861
#ifndef BYTE_ORDER
5962
#error BYTE_ORDER must be defined as LITTLE_ENDIAN, BIG_ENDIAN or PDP_ENDIAN

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy