--- a/contrib/credential/osxkeychain/git-credential-osxkeychain.c	2024-07-29 19:29:45
+++ b/contrib/credential/osxkeychain/git-credential-osxkeychain.c	2024-07-29 19:29:51
@@ -1,6 +1,9 @@
 #include <stdio.h>
 #include <string.h>
 #include <stdlib.h>
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <fcntl.h>
 #include <Security/Security.h>
 
 #define ENCODING kCFStringEncodingUTF8
