Skip to content

Commit 5cd0787

Browse files
authored
coco - fix includes (#53)
1 parent 0a0128b commit 5cd0787

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

fujinet-clock.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,12 @@
77
#ifndef FUJINET_CLOCK_H
88
#define FUJINET_CLOCK_H
99

10+
#ifdef _CMOC_VERSION_
11+
#include <cmoc.h>
12+
#include <coco.h>
13+
#else
1014
#include <stdint.h>
15+
#endif /* _CMOC_VERSION_ */
1116

1217
// Read the error codes from network
1318
#include "fujinet-network.h"

fujinet-fuji.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@
66
// In general, bools return the "success" status, so true is good, false is bad.
77

88
#ifdef _CMOC_VERSION_
9+
910
// CMOC-specific types and definitions
11+
#include <cmoc.h>
12+
#include <coco.h>
13+
1014
#ifndef bool
1115
#define bool unsigned char
1216
#endif /* bool */

0 commit comments

Comments
 (0)