Skip to content

Commit

Permalink
Fix nasa#1942, add missing inclusions in CFE API headers
Browse files Browse the repository at this point in the history
Some CFE API headers were missing dependency inclusions, where the header
was referencing a type or symbol but not directly including the header
file that provides that type/symbol.

Adding the dependent include allows the headers to work more consistently.
  • Loading branch information
jphickey committed Sep 9, 2021
1 parent e5d4ed9 commit de1e697
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions modules/core_api/fsw/inc/cfe_es.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
#include "common_types.h"
#include "cfe_error.h"
#include "cfe_es_api_typedefs.h"
#include "cfe_resourceid_api_typedefs.h"

/*
** The OS_PRINTF macro may be defined by OSAL to enable
Expand Down
1 change: 1 addition & 0 deletions modules/core_api/fsw/inc/cfe_tbl_api_typedefs.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@

/********************* Include Files ************************/
#include "common_types.h" /* Basic Data Types */
#include "cfe_mission_cfg.h"
#include "cfe_tbl_extern_typedefs.h"
#include "cfe_time_extern_typedefs.h"

Expand Down

0 comments on commit de1e697

Please sign in to comment.