14 lines
363 B
Diff
14 lines
363 B
Diff
Fix build for gcc 14 and musl
|
|
|
|
diff -rup src/libsysprof/sysprof-elf-loader.c.orig src/libsysprof/sysprof-elf-loader.c
|
|
--- a/src/libsysprof/sysprof-elf-loader.c
|
|
+++ b/src/libsysprof/sysprof-elf-loader.c
|
|
@@ -22,6 +22,7 @@
|
|
|
|
#include <fcntl.h>
|
|
#include <sys/stat.h>
|
|
+#include <unistd.h>
|
|
|
|
#include "sysprof-elf-private.h"
|
|
#include "sysprof-elf-loader-private.h"
|