summaryrefslogtreecommitdiff
path: root/src/basic/sparse-endian.h
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2017-01-10 13:35:18 +0000
committerSven Eden <yamakuzure@gmx.net>2017-07-17 17:58:35 +0200
commitdd6bbfc14c20df55461965ae6108cc6184263712 (patch)
tree0357e5c930f7aabbb82866f124f95104cab0399b /src/basic/sparse-endian.h
parentbbab4cb0797329f2b254100337a891f5849bb17a (diff)
missing.h: add AF_VSOCK bits
Ubuntu 14.04 (Trusty) kernel header packages ship without <linux/vm_sockets.h>. Only struct sockaddr_vm and VMADDR_CID_ANY will be needed by elogind and they are simple enough to go in missing.h. CentOS 7 <sys/socket.h> does not define AF_VSOCK. Define it so the code can compile although actual socket(2) calls may fail at runtime if the address family isn't available.
Diffstat (limited to 'src/basic/sparse-endian.h')
0 files changed, 0 insertions, 0 deletions