git: b943d315947b - main - Include the correct header for pdfork()'s prototype.

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Mon, 24 Jan 2022 17:52:47 UTC
The branch main has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=b943d315947b589c91f2b32d8e703d2567e2fa8e

commit b943d315947b589c91f2b32d8e703d2567e2fa8e
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-01-24 17:52:12 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-01-24 17:52:12 +0000

    Include the correct header for pdfork()'s prototype.
    
    Reviewed by:    kib, markj
    Obtained from:  CheriBSD
    Sponsored by:   The University of Cambridge, Google Inc.
    Differential Revision:  https://reviews.freebsd.org/D33988
---
 lib/libc/sys/pdfork.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/libc/sys/pdfork.c b/lib/libc/sys/pdfork.c
index 003262d1237d..d98f9b2f7d26 100644
--- a/lib/libc/sys/pdfork.c
+++ b/lib/libc/sys/pdfork.c
@@ -34,7 +34,7 @@
 __FBSDID("$FreeBSD$");
 
 #include <sys/types.h>
-#include <unistd.h>
+#include <sys/procdesc.h>
 #include "libc_private.h"
 
 #pragma weak pdfork