diff --git a/src/deque.h b/src/deque.h index 23f1179..d31f451 100644 --- a/src/deque.h +++ b/src/deque.h @@ -15,6 +15,10 @@ #ifndef CMC_DEQUE_H #define CMC_DEQUE_H +#include +#include +#include + /* PRIVATE *******************************************************************/ #define DEQUE_GENERATE_HEADER_PRIVATE(PFX, SNAME, FMOD, K, T) \ DEQUE_GENERATE_HEADER(PFX, SNAME, FMOD, K, T) diff --git a/src/foreach.h b/src/foreach.h index 345f927..5625809 100644 --- a/src/foreach.h +++ b/src/foreach.h @@ -1,5 +1,5 @@ /** - * @file stack.h + * @file for_each.h * * Last Update: 22/03/2019 * @@ -8,6 +8,13 @@ * */ +#ifndef CMC_FOR_EACH +#define CMC_FOR_EACH + +#include +#include +#include + #define FOR_EACH(PFX, SNAME, K, T, TARGET, BODY) \ do \ { \ @@ -34,3 +41,5 @@ BODY; \ } \ } while (0); + +#endif /* CMC_FOR_EACH */ \ No newline at end of file diff --git a/src/list.h b/src/list.h index 253d5dd..719157c 100644 --- a/src/list.h +++ b/src/list.h @@ -15,6 +15,10 @@ #ifndef CMC_LIST_H #define CMC_LIST_H +#include +#include +#include + /* PRIVATE *******************************************************************/ #define LIST_GENERATE_HEADER_PRIVATE(PFX, SNAME, FMOD, K, T) \ LIST_GENERATE_HEADER(PFX, SNAME, FMOD, K, T) diff --git a/src/queue.h b/src/queue.h index 1ff2158..7cd46fe 100644 --- a/src/queue.h +++ b/src/queue.h @@ -15,6 +15,10 @@ #ifndef CMC_QUEUE_H #define CMC_QUEUE_H +#include +#include +#include + /* PRIVATE *******************************************************************/ #define QUEUE_GENERATE_HEADER_PRIVATE(PFX, SNAME, FMOD, K, T) \ QUEUE_GENERATE_HEADER(PFX, SNAME, FMOD, K, T) diff --git a/src/stack.h b/src/stack.h index 031bd92..6af5b4d 100644 --- a/src/stack.h +++ b/src/stack.h @@ -15,6 +15,10 @@ #ifndef CMC_STACK_H #define CMC_STACK_H +#include +#include +#include + /* PRIVATE *******************************************************************/ #define STACK_GENERATE_HEADER_PRIVATE(PFX, SNAME, FMOD, K, T) \ STACK_GENERATE_HEADER(PFX, SNAME, FMOD, K, T)