Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions fujinet-clock.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,12 @@
#ifndef FUJINET_CLOCK_H
#define FUJINET_CLOCK_H

#ifdef _CMOC_VERSION_
#include <cmoc.h>
#include <coco.h>
#else
#include <stdint.h>
#endif /* _CMOC_VERSION_ */

// Read the error codes from network
#include "fujinet-network.h"
Expand Down
4 changes: 4 additions & 0 deletions fujinet-fuji.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@
// In general, bools return the "success" status, so true is good, false is bad.

#ifdef _CMOC_VERSION_

// CMOC-specific types and definitions
#include <cmoc.h>
#include <coco.h>

#ifndef bool
#define bool unsigned char
#endif /* bool */
Expand Down