Skip to content

Commit

Permalink
Add dirent and socket typedefs.
Browse files Browse the repository at this point in the history
  • Loading branch information
MegaManSec committed Nov 17, 2024
1 parent 86030fe commit 416879f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions utils/fake_libc_include/_fake_typedefs.h
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,13 @@ typedef struct xcb_connection_t xcb_connection_t;
typedef uint32_t xcb_window_t;
typedef uint32_t xcb_visualid_t;

/* dirent typedef */
typedef void* DIR;

/* socket typedefs */
typedef __uint32_t __socklen_t;
typedef __socklen_t socklen_t;

/* C11 stdatomic.h types */
typedef _Atomic(_Bool) atomic_bool;
typedef _Atomic(char) atomic_char;
Expand Down

0 comments on commit 416879f

Please sign in to comment.