Skip to content

Commit 8f73bb4

Browse files
committed
* include <endian.h> is not enough, include sys/types.h too
everywhere. At least it was now detected correctly. marko
1 parent 97ce818 commit 8f73bb4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

contrib/pgcrypto/crypt-des.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@
6464
#include "px-crypt.h"
6565

6666
/* for ntohl/htonl */
67-
#include <sys/types.h>
6867
#include <netinet/in.h>
6968

7069
#define _PASSWORD_EFMT1 '_'

contrib/pgcrypto/px.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,13 @@
2626
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2727
* SUCH DAMAGE.
2828
*
29-
* $Id: px.h,v 1.6 2001/11/29 19:40:37 momjian Exp $
29+
* $Id: px.h,v 1.7 2001/11/30 17:39:20 momjian Exp $
3030
*/
3131

3232
#ifndef __PX_H
3333
#define __PX_H
3434

35+
#include <sys/types.h>
3536
#ifdef HAVE_ENDIAN_H
3637
#include <endian.h>
3738
#endif

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