Skip to content

Commit

Permalink
* Added missing include
Browse files Browse the repository at this point in the history
        For #268
  • Loading branch information
yoogx committed Oct 14, 2020
1 parent 3c7a1b1 commit 519ad85
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/backends/po_hi_c/ocarina-backends-po_hi_c-marshallers.adb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
-- Copyright (C) 2008-2009 Telecom ParisTech, 2010-2017 ESA & ISAE. --
-- Copyright (C) 2008-2009 Telecom ParisTech, 2010-2020 ESA & ISAE. --
-- --
-- Ocarina is free software; you can redistribute it and/or modify under --
-- terms of the GNU General Public License as published by the Free Soft- --
Expand Down Expand Up @@ -302,6 +302,7 @@ package body Ocarina.Backends.PO_HI_C.Marshallers is
S : Node_Id;
begin
Add_Include (RH (RH_Types));
Add_Include (RH (RH_Marshallers));

if No (Get_Handling (E, By_Name, H_C_Marshall_Spec)) then
N := Marshall_Type_Spec (E);
Expand Down Expand Up @@ -1199,8 +1200,8 @@ package body Ocarina.Backends.PO_HI_C.Marshallers is
N : Node_Id;
S : Node_Id;
begin

Add_Include (RH (RH_Types));
Add_Include (RH (RH_Marshallers));
Add_Include (RH (RH_PO_HI_Types));

if No (Get_Handling (E, By_Name, H_C_Marshall_Body))
Expand Down

0 comments on commit 519ad85

Please sign in to comment.