ithewei 7 years ago
parent
commit
a5178a4f68
3 changed files with 6 additions and 0 deletions
  1. 2 0
      hdef.h
  2. 3 0
      hendian.h
  3. 1 0
      hfile.h

+ 2 - 0
hdef.h

@@ -1,6 +1,8 @@
 #ifndef HW_DEF_H_
 #define HW_DEF_H_
 
+#include <stdio.h>
+
 typedef unsigned char       uint8;
 typedef unsigned short      uint16;
 typedef unsigned int        uint32;

+ 3 - 0
hendian.h

@@ -1,6 +1,9 @@
 #ifndef HW_ENDIAN_H_
 #define HW_ENDIAN_H_
 
+#include <stdio.h>
+#include <string.h>
+
 #include "hdef.h"
 
 #define LITTLE_ENDIAN   0

+ 1 - 0
hfile.h

@@ -10,6 +10,7 @@
 #include "hdef.h"
 #include "hbuf.h"
 #include "herr.h"
+#include "hstring.h"
 
 class HFile {
  public: