diff options
Diffstat (limited to 'devnode')
| -rw-r--r-- | devnode/Makefile | 1 | ||||
| -rw-r--r-- | devnode/mig-mutate.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/devnode/Makefile b/devnode/Makefile index d9a9c23c..9529fa7b 100644 --- a/devnode/Makefile +++ b/devnode/Makefile @@ -24,6 +24,7 @@ HURDLIBS = ports trivfs fshelp shouldbeinlibc target = devnode MIGSTUBS = deviceServer.o notifyServer.o MIGSFLAGS = -imacros $(srcdir)/mig-mutate.h +device-MIGSFLAGS="-DMACH_PAYLOAD_TO_PORT=ports_payload_get_name" OBJS = $(SRCS:.c=.o) $(MIGSTUBS) include ../Makeconf diff --git a/devnode/mig-mutate.h b/devnode/mig-mutate.h index f692236e..0656014f 100644 --- a/devnode/mig-mutate.h +++ b/devnode/mig-mutate.h @@ -19,6 +19,8 @@ #define NOTIFY_INTRAN \ port_info_t begin_using_port_info_port (mach_port_t) +#define NOTIFY_INTRAN_PAYLOAD \ + port_info_t begin_using_port_info_payload #define NOTIFY_DESTRUCTOR \ end_using_port_info (port_info_t) #define NOTIFY_IMPORTS \ |
