aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/common.h1
-rw-r--r--src/pad_common.h5
2 files changed, 6 insertions, 0 deletions
diff --git a/src/common.h b/src/common.h
index 2c83dc6..bd4b80c 100644
--- a/src/common.h
+++ b/src/common.h
@@ -36,6 +36,7 @@
#include <string>
#include <vector>
#include <sstream>
+#include <cstdio>
extern int verbose;
diff --git a/src/pad_common.h b/src/pad_common.h
index c3ee01d..e855625 100644
--- a/src/pad_common.h
+++ b/src/pad_common.h
@@ -27,6 +27,9 @@
\author Stefan Pöschel <odr@basicmaster.de>
*/
+#ifndef PAD_COMMON_H_
+#define PAD_COMMON_H_
+
#include <cstdio>
#include <vector>
#include <deque>
@@ -112,3 +115,5 @@ public:
// will be removed, when pull (instead of push) approach is implemented!
void WriteAllPADs(int output_fd, int limit = -1);
};
+
+#endif /* PAD_COMMON_H_ */