From 127e7773b437bd5866a4424cc9b338bac6beb08b Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 3 Sep 2017 04:36:29 +0200 Subject: hurd: Fix libc link * sysdeps/posix/pause.c: Include . * sysdeps/posix/system.c: Include . --- ChangeLog | 2 ++ sysdeps/posix/pause.c | 1 + sysdeps/posix/system.c | 1 + 3 files changed, 4 insertions(+) diff --git a/ChangeLog b/ChangeLog index 11edadd5fc..858848c9ee 100644 --- a/ChangeLog +++ b/ChangeLog @@ -20,6 +20,8 @@ * sysdeps/posix/pwritev64v2.c: Include . * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk): New functions. + * sysdeps/posix/pause.c: Include . + * sysdeps/posix/system.c: Include . 2017-09-01 Joseph Myers diff --git a/sysdeps/posix/pause.c b/sysdeps/posix/pause.c index 53e143d98f..7c17f49ffb 100644 --- a/sysdeps/posix/pause.c +++ b/sysdeps/posix/pause.c @@ -19,6 +19,7 @@ #include #include #include +#include /* Suspend the process until a signal arrives. This always returns -1 and sets errno to EINTR. */ diff --git a/sysdeps/posix/system.c b/sysdeps/posix/system.c index d49cc3f01c..56195b529f 100644 --- a/sysdeps/posix/system.c +++ b/sysdeps/posix/system.c @@ -24,6 +24,7 @@ #include #include #include +#include #define SHELL_PATH "/bin/sh" /* Path of the shell. */ -- cgit 1.4.1