Browse Source

fix musl compile

Waldemar Brodkorb 10 years ago
parent
commit
1e2aa4d3dd
3 changed files with 6 additions and 0 deletions
  1. 2 0
      package/cfgfs/src/compress.h
  2. 2 0
      package/cfgfs/src/pack.h
  3. 2 0
      package/cfgfs/src/sysdeps.h

+ 2 - 0
package/cfgfs/src/compress.h

@@ -9,6 +9,8 @@
 #ifndef COMPRESS_H
 #define COMPRESS_H
 
+#include <sys/types.h>
+
 /* BEGIN of plug-in API description - hook yer proprietary modules here */
 
 /* returns 0 on success, -1 on failure */

+ 2 - 0
package/cfgfs/src/pack.h

@@ -9,6 +9,8 @@
 #ifndef PACK_H
 #define PACK_H
 
+#include <sys/types.h>
+
 struct FTSF_ENTRY;
 #ifndef FTS_SUBS_H
 typedef struct FTSF_ENTRY ftsf_entry;

+ 2 - 0
package/cfgfs/src/sysdeps.h

@@ -9,6 +9,8 @@
 #ifndef SYSDEPS_H
 #define SYSDEPS_H
 
+#include <sys/types.h>
+
 void pull_rndata(u_int8_t *, size_t);
 void push_rndata(u_int8_t *, size_t);