Skip to content

Commit

Permalink
[#296] Update Cryptostructs to exclude/include system libraries when …
Browse files Browse the repository at this point in the history
…KMC_CFFI_EXCLUDE is active
  • Loading branch information
rjbrown6 committed Sep 11, 2024
1 parent 5dadca4 commit 7baa662
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions include/crypto_structs.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,17 @@
#define CRYPTO_STRUCTS_H

#include "crypto_config.h"
#include <stdio.h>

#ifdef NOS3 // NOS3/cFS build is ready
#include "common_types.h"
#else // Assume build outside of NOS3/cFS infrastructure
#include <stdint.h>
#include <stdio.h>
#ifndef KMC_CFFI_EXCLUDE // Exclude libraries that CFFI parser can’t process
#include <stdlib.h>
#endif
#endif

#ifdef NOS3 // NOS3/cFS build is ready
#include "common_types.h"
#endif // Assume build outside of NOS3/cFS infrastructure

#ifndef KMC_CFFI_EXCLUDE // Exclude libraries that CFFI parser can’t process
#include <stdlib.h>
#include <stdint.h>
#include <stdio.h>
#endif

/*
** Definitions
Expand Down

0 comments on commit 7baa662

Please sign in to comment.