diff options
| author | Pavan Deolasee | 2016-04-11 05:14:59 +0000 |
|---|---|---|
| committer | Pavan Deolasee | 2016-10-18 10:05:04 +0000 |
| commit | 028cc6630df1843880f1780c2b92d5b94a4bb85e (patch) | |
| tree | b68f01dfa342d43f3323711b2816da49d9d3bcf6 /src/interfaces | |
| parent | eed242e84c34d254873b58e000918b3d1c63d3c1 (diff) | |
Make changes and bug fixes to let compilation and regression run on smartos
We don't yet officially support the platform, given very little testing done so
far on this platform. But we don't stop others to doing it either. So
committing these changes upstream.
Reports, investigation and patches by Patrick Sodré.
Diffstat (limited to 'src/interfaces')
| -rw-r--r-- | src/interfaces/libpq/fe-auth.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/interfaces/libpq/fe-auth.c b/src/interfaces/libpq/fe-auth.c index 5891c75bce..6df4357041 100644 --- a/src/interfaces/libpq/fe-auth.c +++ b/src/interfaces/libpq/fe-auth.c @@ -30,6 +30,9 @@ #include <sys/param.h> /* for MAXHOSTNAMELEN on most */ #include <sys/socket.h> #ifdef HAVE_SYS_UCRED_H +#ifdef __sun +#include <procfs.h> +#endif #include <sys/ucred.h> #endif #ifndef MAXHOSTNAMELEN |
