summaryrefslogtreecommitdiff
path: root/trans/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'trans/Makefile')
-rw-r--r--trans/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/trans/Makefile b/trans/Makefile
index 2fdcd38b..65b51d12 100644
--- a/trans/Makefile
+++ b/trans/Makefile
@@ -45,7 +45,9 @@ ifsock-MIGSFLAGS=\
"-DIFSOCK_IMPORTS=import \"../libtrivfs/mig-decls.h\";"
# device_replyServer is used by the streamio translator.
-device_reply-MIGSFLAGS="-DMACH_PAYLOAD_TO_PORT=ports_payload_get_name"
+device_reply-MIGSFLAGS=\
+ "-DMACH_PAYLOAD_TO_PORT=ports_payload_get_name" \
+ "-DDEVICE_IMPORTS=import \"$(srcdir)/../libports/ports.h\";"
# fsysServer is only used by the symlink translator which does not use
# libports. Disable the default payload to port conversion.