mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-03 01:17:27 -08:00
Closes: https://bugs.gentoo.org/885873 Closes: https://bugs.gentoo.org/900192 Signed-off-by: Rolf Eike Beer <eike@sf-mail.de> Closes: https://github.com/gentoo/gentoo/pull/30231 Signed-off-by: Sam James <sam@gentoo.org>
41 lines
911 B
Diff
41 lines
911 B
Diff
From 6a2bc617c8ca8368697e971b6456b5b07a1c8b18 Mon Sep 17 00:00:00 2001
|
|
From: Rolf Eike Beer <eike@sf-mail.de>
|
|
Date: Thu, 15 Dec 2022 21:34:18 +0100
|
|
Subject: [PATCH 1/5] add missing headers in configure tests
|
|
|
|
See: https://bugs.gentoo.org/885873
|
|
---
|
|
configure | 2 ++
|
|
configure.in | 2 ++
|
|
2 files changed, 4 insertions(+)
|
|
|
|
diff --git a/configure b/configure
|
|
index 43030d8..a4b0d54 100755
|
|
--- a/configure
|
|
+++ b/configure
|
|
@@ -5686,6 +5686,8 @@ else
|
|
#include <stdio.h>
|
|
#include <pwd.h>
|
|
#include <stdlib.h>
|
|
+ #include <string.h>
|
|
+ #include <unistd.h>
|
|
|
|
int main() {
|
|
struct passwd *pw;
|
|
diff --git a/configure.in b/configure.in
|
|
index c4e32d4..f557f26 100644
|
|
--- a/configure.in
|
|
+++ b/configure.in
|
|
@@ -423,6 +423,8 @@ AC_TRY_RUN( [
|
|
#include <stdio.h>
|
|
#include <pwd.h>
|
|
#include <stdlib.h>
|
|
+ #include <string.h>
|
|
+ #include <unistd.h>
|
|
|
|
int main() {
|
|
struct passwd *pw;
|
|
--
|
|
2.35.3
|
|
|