X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=snapshotimp.h;h=0560203f1dc8e358312d9b3cfc30040e4a6fb225;hb=05d91de8ac8098425d51e9af2704eb91e04a7f9b;hp=b03d28527e3efe69257cbf48ac1311776dbec5ee;hpb=ff6281947505d1b5bf6491dbfeaa27d5d41ab964;p=model-checker.git diff --git a/snapshotimp.h b/snapshotimp.h index b03d285..0560203 100644 --- a/snapshotimp.h +++ b/snapshotimp.h @@ -2,14 +2,13 @@ * @brief Snapshotting implementation header file.. */ -#ifndef _SNAPSHOTIMP_H -#define _SNAPSHOTIMP_H +#ifndef __SNAPSHOTIMP_H__ +#define __SNAPSHOTIMP_H__ + +#include + #include "snapshot.h" -#include -#include -#include -#include -#include + #define SHARED_MEMORY_DEFAULT (100 * ((size_t)1 << 20)) // 100mb for the shared memory #define STACK_SIZE_DEFAULT (((size_t)1 << 20) * 20) // 20 mb out of the above 100 mb for my stack @@ -53,6 +52,9 @@ struct SnapShot { }; #else + +#include + struct SnapShot { void *mSharedMemoryBase; void *mStackBase; @@ -65,4 +67,5 @@ struct SnapShot { //Global reference to snapshot data structure extern struct SnapShot * snapshotrecord; -#endif + +#endif /* __SNAPSHOTIMP_H__ */