Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jan 2022 17:52:47 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: b943d315947b - main - Include the correct header for pdfork()'s prototype.
Message-ID:  <202201241752.20OHqlxk027602@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202201241752.20OHqlxk027602>