From 31122be0f5617f65d14b240b7010505c6a40d6fe Mon Sep 17 00:00:00 2001 From: jmcmullan Date: Thu, 30 Aug 2012 18:02:51 +0000 Subject: [PATCH] genmodule: Add to the device proto includes Signed-off-by: Jason S. McMullan git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@45696 fb15a70f-31f2-0310-bbcc-cdcc74a49acc --- tools/genmodule/writeincproto.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/genmodule/writeincproto.c b/tools/genmodule/writeincproto.c index 450f8324fa..e57456a0bb 100644 --- a/tools/genmodule/writeincproto.c +++ b/tools/genmodule/writeincproto.c @@ -44,10 +44,12 @@ void writeincproto(struct config *cfg, int is_rel) ); fprintf(out, "#include \n" + "%s" "#include \n" "\n" "#include \n" "\n", + (cfg->modtype == DEVICE) ? "#include \n" : "", cfg->modulename ); freeBanner(banner); -- 2.11.4.GIT