16 lines
313 B
Diff
16 lines
313 B
Diff
--- a/src/util.c
|
|
+++ b/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"
|