mirror of
https://github.com/postgres/postgres.git
synced 2025-11-12 05:01:15 +03:00
More stuff to make it compile on various ports.
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
*
|
||||
* Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: port-protos.h,v 1.1.1.1 1996/07/09 06:21:45 scrappy Exp $
|
||||
* $Id: port-protos.h,v 1.2 1996/11/27 08:15:23 bryanh Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -14,6 +14,8 @@
|
||||
#define PORT_PROTOS_H
|
||||
|
||||
#include <dlfcn.h>
|
||||
|
||||
#include "config.h" /* For MAXPATHLEN */
|
||||
#include "fmgr.h" /* for func_ptr */
|
||||
#include "utils/dynamic_loader.h"
|
||||
|
||||
@@ -35,4 +37,11 @@
|
||||
extern long random(void);
|
||||
extern void srandom(int seed);
|
||||
|
||||
/* inet_aton.c in backend/port directory */
|
||||
extern int inet_aton(const char *cp, struct in_addr *addr);
|
||||
|
||||
/* In system library, but can't find prototype in system library .h files */
|
||||
extern int gethostname(char *name, int namelen);
|
||||
|
||||
|
||||
#endif /* PORT_PROTOS_H */
|
||||
|
||||
Reference in New Issue
Block a user