From f4bff843cd77323d7176b3b1561f50f626e0e452 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 4 Mar 2018 00:13:47 +0100 Subject: hurd: Add missing includes * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include and . --- mach/Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'mach') diff --git a/mach/Makefile b/mach/Makefile index dcf29a32b8..d16c44f885 100644 --- a/mach/Makefile +++ b/mach/Makefile @@ -146,9 +146,12 @@ $(objpfx)mach-shortcuts.h: $(mach-interface-list:%=$(objpfx)mach/%.h) \ # The first line gets us one paragraph per line, with @s separating real lines. # The second line selects paragraphs for the shortcutted functions. # The third line removes `_rpc' from the names and reconstitutes the lines. - cat $^ | tr \\012 @ | sed s/@@/@%/g | tr % \\012 \ - | grep '^/\* Routine [a-z0-9_]*_rpc \*/' \ - | sed 's/_rpc//g' | tr @ \\012 > $@-new + ( echo "#include " ; \ + echo "#include " ; \ + echo ; \ + cat $^ | tr \\012 @ | sed s/@@/@%/g | tr % \\012 \ + | grep '^/\* Routine [a-z0-9_]*_rpc \*/' \ + | sed 's/_rpc//g' | tr @ \\012 ) > $@-new mv -f $@-new $@ generated += mach-shortcuts.h -- cgit 1.4.1