diff options
author | Ilya Maximets <i.maximets@ovn.org> | 2022-07-13 22:38:36 +0200 |
---|---|---|
committer | Ilya Maximets <i.maximets@ovn.org> | 2022-07-14 12:19:39 +0200 |
commit | 4dd68ff85b06cad468bb858ed26e5d73c4137536 (patch) | |
tree | b6b508c805ecbf1a9b03067bd78a7c20db385af3 /ovsdb | |
parent | 3cd2cbd684e023682d04dd11d2640b53e4725790 (diff) | |
download | openvswitch-4dd68ff85b06cad468bb858ed26e5d73c4137536.tar.gz |
ovsdb: Add missing ovs-thread include.
MSVC doesn't have pthread_t defined by default as other compilers,
so the build fails without the header.
Fixes: 3cd2cbd684e0 ("ovsdb: Prepare snapshot JSON in a separate thread.")
Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Acked-by: Dumitru Ceara <dceara@redhat.com>
Diffstat (limited to 'ovsdb')
-rw-r--r-- | ovsdb/ovsdb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ovsdb/ovsdb.h b/ovsdb/ovsdb.h index 2f77821e0..d05e7c64a 100644 --- a/ovsdb/ovsdb.h +++ b/ovsdb/ovsdb.h @@ -21,6 +21,7 @@ #include "openvswitch/list.h" #include "openvswitch/shash.h" #include "openvswitch/uuid.h" +#include "ovs-thread.h" struct json; struct ovsdb_log; |