diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2021-09-07 16:19:13 +0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-09-30 15:30:25 +0200 |
commit | 653163fcbcab72499ff1c2011f3552811d957729 (patch) | |
tree | f58457f9c50e24399573c3cbbc4f9b624cce1bae /qapi/sockets.json | |
parent | fcb3ab341accb8ed897f148238cae0324ed89d2c (diff) |
build-sys: add HAVE_IPPROTO_MPTCP
The QAPI schema shouldn't rely on C system headers #define, but on
configure-time project #define, so we can express the build condition in
a C-independent way.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20210907121943.3498701-3-marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'qapi/sockets.json')
-rw-r--r-- | qapi/sockets.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qapi/sockets.json b/qapi/sockets.json index ef4b16d6f2..5773d9fcc4 100644 --- a/qapi/sockets.json +++ b/qapi/sockets.json @@ -69,7 +69,7 @@ '*ipv4': 'bool', '*ipv6': 'bool', '*keep-alive': 'bool', - '*mptcp': { 'type': 'bool', 'if': 'IPPROTO_MPTCP' } } } + '*mptcp': { 'type': 'bool', 'if': 'HAVE_IPPROTO_MPTCP' } } } ## # @UnixSocketAddress: |