File tree Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,8 @@ let package = Package(
27
27
name: " SwiftInspectLinux " ,
28
28
dependencies: [ " LinuxSystemHeaders " ] ,
29
29
path: " Sources/SwiftInspectLinux " ,
30
- exclude: [ " SystemHeaders " ] ) ,
30
+ exclude: [ " SystemHeaders " ] ,
31
+ cSettings: [ . define( " _GNU_SOURCE " , to: " 1 " ) ] ) ,
31
32
. systemLibrary(
32
33
name: " LinuxSystemHeaders " ,
33
34
path: " Sources/SwiftInspectLinux/SystemHeaders " ) ,
Original file line number Diff line number Diff line change 11
11
//===----------------------------------------------------------------------===//
12
12
13
13
#include <sys/uio.h>
14
-
15
- // process_vm_readv/writeva are available in glibc but are not in the headers
16
- // provided with the Swift toolchain
17
- ssize_t process_vm_readv (pid_t , const struct iovec * , unsigned long ,
18
- const struct iovec * , unsigned long , unsigned long );
19
- ssize_t process_vm_writev (pid_t , const struct iovec * , unsigned long ,
20
- const struct iovec * , unsigned long , unsigned long );
You can’t perform that action at this time.
0 commit comments