diff options
Diffstat (limited to 'src/include/port/win32.h')
-rw-r--r-- | src/include/port/win32.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/include/port/win32.h b/src/include/port/win32.h index bb2f7540b3d..c280c131c03 100644 --- a/src/include/port/win32.h +++ b/src/include/port/win32.h @@ -56,3 +56,14 @@ #else #define PGDLLEXPORT #endif + +/* + * Windows headers don't define this structure, but you can define it yourself + * to use the functionality. + */ +struct sockaddr_un +{ + unsigned short sun_family; + char sun_path[108]; +}; +#define HAVE_STRUCT_SOCKADDR_UN 1 |