Build error on illumos - undefined S_IRUSR S_IWUSR
- Dominant language
- C
- Stars
- 12.8k
- Forks
- 794
- Avg merge
- 2d 14h
- Merged PRs (30d)
- 31
Description
Building 8.2.1 on illumos (a Solaris derivative) I see the following error:
worker/worker_sql_task_protocol.c: In function 'TaskFileDestReceiverStartup':
worker/worker_sql_task_protocol.c:166:24: error: 'S_IRUSR' undeclared (first use in this function)
const int fileMode = (S_IRUSR | S_IWUSR);
^
worker/worker_sql_task_protocol.c:166:24: note: each undeclared identifier is reported only once for each function it appears in
worker/worker_sql_task_protocol.c:166:34: error: 'S_IWUSR' undeclared (first use in this function)
const int fileMode = (S_IRUSR | S_IWUSR);
This looks similar to #1958, and is easily fixed by adding
#include
to src/backend/distributed/worker/worker_sql_task_protocol.c
Thanks.
Contributor guide
Assessment
This issue has not been assessed yet.