diff options
author | Guy Harris <gharris@sonic.net> | 2020-08-10 14:33:03 -0700 |
---|---|---|
committer | Guy Harris <gharris@sonic.net> | 2020-08-11 02:30:04 +0000 |
commit | d5fe2d494c6475263b954a36812b888b11e1a50b (patch) | |
tree | 67b770e73139a9d9d78e0d413f250069ddea02f6 /ui | |
parent | 151ee605559ac0d61eb8618a75985772c57dbfa8 (diff) |
wsutil: define HAVE_LIBGCRYPT_AEAD in wsutil/wsgcrypt.h.
It's used in a number of source files; don't force each of them to test
GCRYPT_VERSION_NUMBER independently.
Make sure every file that uses HAVE_LIBGCRYPT_AEAD includes
wsutil/wsgcrypt.h.
Also do some other definitions that are based on the libgcrypt version
there as well.
This requires that the Qt UI code be given the include directory for
libgcrypt, as the follow stream code includes
epan/dissectors/packet-quic.h, which includes wsutil/wsgcrypt.h to get
HAVE_LIBGCRYPT_AEAD defined, and wsutil/wsgcrypt.h includes <gcrypt.h>.
Change-Id: I9cb50f411f5b2b6b9e28a38bfd901f4a66d9cc8f
Reviewed-on: https://code.wireshark.org/review/38116
Petri-Dish: Guy Harris <gharris@sonic.net>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <gharris@sonic.net>
Diffstat (limited to 'ui')
-rw-r--r-- | ui/qt/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/qt/CMakeLists.txt b/ui/qt/CMakeLists.txt index c7751bc87b..a159e0afe9 100644 --- a/ui/qt/CMakeLists.txt +++ b/ui/qt/CMakeLists.txt @@ -9,6 +9,10 @@ ADD_CUSTOM_CMAKE_INCLUDE() +include_directories( + ${GCRYPT_INCLUDE_DIRS} +) + set(WIRESHARK_WIDGET_HEADERS widgets/additional_toolbar.h widgets/apply_line_edit.h |