File tree Expand file tree Collapse file tree 3 files changed +17
-0
lines changed Expand file tree Collapse file tree 3 files changed +17
-0
lines changed Original file line number Diff line number Diff line change 1010#include < sstream>
1111#include < string>
1212
13+ // muslc defines those, but we want a typedef instead
14+ #if defined(loff_t)
15+ typedef loff_t __musl_loff_t ;
16+ #undef loff_t
17+ typedef __musl_loff_t loff_t ;
18+ #endif
19+
1320#include " AddressSpace.h"
1421#include " ReplaySession.h"
1522#include " core.h"
Original file line number Diff line number Diff line change 33#ifndef RR_SCOPED_FD_H_
44#define RR_SCOPED_FD_H_
55
6+ #ifndef _GNU_SOURCE
7+ #define _GNU_SOURCE
8+ #endif
69#include < fcntl.h>
710#include < sys/stat.h>
811#include < sys/types.h>
Original file line number Diff line number Diff line change 102102#include " log.h"
103103#include " util.h"
104104
105+ // muslc defines those, but we want a typedef instead
106+ #if defined(loff_t)
107+ typedef loff_t __musl_loff_t ;
108+ #undef loff_t
109+ typedef __musl_loff_t loff_t ;
110+ #endif
111+
105112using namespace std ;
106113
107114#ifndef HAVE_TERMIOS2
You can’t perform that action at this time.
0 commit comments