From 3c655a6f3eab0ae59a7bb0efed9779771b9cb228 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Pablo=20Correa=20G=C3=B3mez?= <ablocorrea@hotmail.com>
Date: Mon, 18 Mar 2024 22:18:52 +0100
Subject: [PATCH] libsysprof: add missing header for close function

This was detected by compiling against musl-libc
---
 src/libsysprof/sysprof-elf-loader.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/libsysprof/sysprof-elf-loader.c b/src/libsysprof/sysprof-elf-loader.c
index c104b37b..2e52e26c 100644
--- a/src/libsysprof/sysprof-elf-loader.c
+++ b/src/libsysprof/sysprof-elf-loader.c
@@ -21,6 +21,7 @@
 #include "config.h"
 
 #include <fcntl.h>
+#include <unistd.h>
 #include <sys/stat.h>
 
 #include "sysprof-elf-private.h"
-- 
2.44.0

