aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Pöschel <github@basicmaster.de>2017-03-18 14:14:11 +0100
committerStefan Pöschel <github@basicmaster.de>2017-03-18 14:14:11 +0100
commita18e7845e0a3abace484c84cdd8f4a29b5b71d93 (patch)
tree13b4bde29bc4ecfeb88da148e7022160b5ab7de9
parentfc24d78c50dfe22600cf8d8adf059c10f0573334 (diff)
downloadODR-PadEnc-a18e7845e0a3abace484c84cdd8f4a29b5b71d93.tar.gz
ODR-PadEnc-a18e7845e0a3abace484c84cdd8f4a29b5b71d93.tar.bz2
ODR-PadEnc-a18e7845e0a3abace484c84cdd8f4a29b5b71d93.zip
Use C headers where appropriate
Using the C++ versions does not guarantee the availability of the global namespace functions.
-rw-r--r--src/common.h2
-rw-r--r--src/pad_common.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/common.h b/src/common.h
index bd4b80c..a2981c4 100644
--- a/src/common.h
+++ b/src/common.h
@@ -36,7 +36,7 @@
#include <string>
#include <vector>
#include <sstream>
-#include <cstdio>
+#include <stdio.h>
extern int verbose;
diff --git a/src/pad_common.h b/src/pad_common.h
index 6aba19b..c9dd434 100644
--- a/src/pad_common.h
+++ b/src/pad_common.h
@@ -30,10 +30,10 @@
#ifndef PAD_COMMON_H_
#define PAD_COMMON_H_
-#include <cstdio>
+#include <stdio.h>
#include <vector>
#include <deque>
-#include <cstring>
+#include <string.h>
#include <string>
#include <stdint.h>
#include <unistd.h>