Fix build on illumos

pull/3272/head
Alexander Pyhalov 2019-12-05 17:07:21 +03:00 committed by Marco Slot
parent b0ac70f1f4
commit 6174a4d3d6
2 changed files with 7 additions and 0 deletions

View File

@ -13,6 +13,11 @@
#include <sys/stat.h>
#include <sys/types.h>
/* necessary to get alloca() on illumos */
#ifdef __sun
#include <alloca.h>
#endif
#include "fmgr.h"
#include "miscadmin.h"

View File

@ -21,6 +21,8 @@
#include "utils/builtins.h"
#include "utils/memutils.h"
/* necessary to get S_IRUSR, S_IWUSR definitions on illumos */
#include <sys/stat.h>
/* TaskFileDestReceiver can be used to stream results into a file */
typedef struct TaskFileDestReceiver