summaryrefslogtreecommitdiff
path: root/libshouldbeinlibc
diff options
context:
space:
mode:
authorFlavio Cruz <flaviocruz@gmail.com>2023-04-06 01:20:40 -0400
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-04-07 00:45:29 +0200
commit0a03fedbb9ce7aac3b2ecdd50256160ba7e33b1c (patch)
tree6b1705ea794aa85bde1a8f5ebec105b2b2003b2c /libshouldbeinlibc
parent0d87f60c88c36598c009b7dc76269105e2714657 (diff)
Use default pager MiG stubs from Hurd instead of gnumach
Hurd code relies on gnumach default_pager.defs headers when making calls using the default pager RPC. Those stubs were checked in back in the 90s and are essentially unused because gnumach does not implement or use that interface. Instead use the Hurd interface directly. This is safe since the Hurd stubs are a super set of the gnumach stubs. Later, we won't need to install the gnumach stubs anymore through glibc. Message-Id: <ZC5WqPKfCCiE8D29@jupiter.tail36e24.ts.net>
Diffstat (limited to 'libshouldbeinlibc')
-rw-r--r--libshouldbeinlibc/portinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libshouldbeinlibc/portinfo.c b/libshouldbeinlibc/portinfo.c
index 75a20bb9..f2564a3a 100644
--- a/libshouldbeinlibc/portinfo.c
+++ b/libshouldbeinlibc/portinfo.c
@@ -22,7 +22,6 @@
#include <arpa/inet.h>
#include <sys/un.h>
-#include <mach/default_pager.h>
#include <hurd/fsys.h>
#include <hurd/msg.h>
#include <hurd/pci.h>
@@ -32,6 +31,7 @@
#include <hurd/tioctl.h>
#include <hurd.h>
+#include "default_pager_U.h"
#include "portinfo.h"
/* Prints info about NAME in TASK to STREAM, in a way described by the flags