summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2012-07-06 20:25:21 +0200
committerattilamolnar <attilamolnar@hush.com>2012-07-06 20:25:21 +0200
commitd2d88b6371a942d000f48f2d6c437e00e1fd3d9c (patch)
tree5505c68d8bb36686f098be619443bdc3ecba95b3
parente57ab366e6568f6ecf39d301cf81f6fa86d6429a (diff)
#include <stdint.h>, add header guard to extensible.h
Fixes #102 reported by @kshade
-rw-r--r--include/extensible.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/extensible.h b/include/extensible.h
index 40e820d68..f327cf75c 100644
--- a/include/extensible.h
+++ b/include/extensible.h
@@ -17,6 +17,11 @@
*/
+#ifndef EXTENSIBLE_H
+#define EXTENSIBLE_H
+
+#include <stdint.h>
+
enum SerializeFormat
{
/** Shown to a human (does not need to be unserializable) */
@@ -185,3 +190,5 @@ class CoreExport StringExtItem : public ExtensionItem
void unset(Extensible* container);
void free(void* item);
};
+
+#endif