Fix the xfer_test build on macOS

Include signal.h for kill, and define _DARWIN_C_SOURCE for mkdtemp.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRekyRUhR43KbmGNXK
This commit is contained in:
Claude committed 2026-11-20 22:02:27 +00:00
1 parent e5842d2223
commit 3f33ae3065
1 file changed
+2
+2
View File
@@ -12,8 +12,10 @@
*/
#define _DEFAULT_SOURCE
#define _XOPEN_SOURCE 700
#define _DARWIN_C_SOURCE
#include <errno.h>
#include <fcntl.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>