Skip to content

Commit

Permalink
Problem: can't parse code from https://github.com/zeromq/malamute
Browse files Browse the repository at this point in the history
Solution: more fake headers and some typedefs from asm-generic/int-ll64.h
  • Loading branch information
Aaron Sokoloski committed Jan 20, 2016
1 parent bf6aa16 commit cbc0fce
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
8 changes: 8 additions & 0 deletions utils/fake_libc_include/_fake_typedefs.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@ typedef int __int64_t;
typedef int __uint64_t;
typedef int __int_least32_t;
typedef int __uint_least32_t;
typedef int __s8;
typedef int __u8;
typedef int __s16;
typedef int __u16;
typedef int __s32;
typedef int __u32;
typedef int __s64;
typedef int __u64;
typedef int _LOCK_T;
typedef int _LOCK_RECURSIVE_T;
typedef int _off_t;
Expand Down
2 changes: 2 additions & 0 deletions utils/fake_libc_include/asm-generic/int-ll64.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#include "_fake_defines.h"
#include "_fake_typedefs.h"
2 changes: 2 additions & 0 deletions utils/fake_libc_include/linux/socket.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#include "_fake_defines.h"
#include "_fake_typedefs.h"

0 comments on commit cbc0fce

Please sign in to comment.