16 lines
309 B
Diff
16 lines
309 B
Diff
|
--- src/util.c
|
||
|
+++ src/util.c
|
||
|
@@ -35,6 +35,12 @@
|
||
|
#include <libintl.h>
|
||
|
#include <sys/types.h>
|
||
|
#include <sys/stat.h>
|
||
|
+
|
||
|
+/* glibc's stat.h has it but musl's does not. */
|
||
|
+#ifndef ACCESSPERMS
|
||
|
+#define ACCESSPERMS (S_IRWXU|S_IRWXG|S_IRWXO)
|
||
|
+#endif
|
||
|
+
|
||
|
#include <sys/wait.h>
|
||
|
#include "cpu-x.h"
|
||
|
#include "ipc.h"
|