xref: /aosp_15_r20/external/ltp/include/lapi/vm_sockets.h (revision 49cdfc7efb34551c7342be41a7384b9c40d7cab7)
1*49cdfc7eSAndroid Build Coastguard Worker // SPDX-License-Identifier: GPL-2.0-or-later
2*49cdfc7eSAndroid Build Coastguard Worker /*
3*49cdfc7eSAndroid Build Coastguard Worker  * Copyright (C) 2021 SUSE LLC <[email protected]>
4*49cdfc7eSAndroid Build Coastguard Worker  */
5*49cdfc7eSAndroid Build Coastguard Worker 
6*49cdfc7eSAndroid Build Coastguard Worker #ifndef LAPI_VM_SOCKETS_H__
7*49cdfc7eSAndroid Build Coastguard Worker #define LAPI_VM_SOCKETS_H__
8*49cdfc7eSAndroid Build Coastguard Worker 
9*49cdfc7eSAndroid Build Coastguard Worker #include <sys/socket.h>
10*49cdfc7eSAndroid Build Coastguard Worker 
11*49cdfc7eSAndroid Build Coastguard Worker #if HAVE_LINUX_VM_SOCKETS_H
12*49cdfc7eSAndroid Build Coastguard Worker #  include <linux/vm_sockets.h>
13*49cdfc7eSAndroid Build Coastguard Worker #endif
14*49cdfc7eSAndroid Build Coastguard Worker 
15*49cdfc7eSAndroid Build Coastguard Worker #ifndef VMADDR_CID_LOCAL
16*49cdfc7eSAndroid Build Coastguard Worker #  define VMADDR_CID_LOCAL 1
17*49cdfc7eSAndroid Build Coastguard Worker #endif
18*49cdfc7eSAndroid Build Coastguard Worker 
19*49cdfc7eSAndroid Build Coastguard Worker #endif /* LAPI_VM_SOCKETS_H__ */
20