diff --git a/src/unix/secretstore.cpp b/src/unix/secretstore.cpp index 0aba702c10..77c324fe14 100644 --- a/src/unix/secretstore.cpp +++ b/src/unix/secretstore.cpp @@ -27,6 +27,9 @@ #include "wx/secretstore.h" #include "wx/private/secretstore.h" +// Older versions of libsecret, such as 0.16 from Ubuntu 14.04 LTS, require +// predefining this symbol in order to have access to the APIs we use below. +#define SECRET_API_SUBJECT_TO_CHANGE #include #include "wx/gtk/private/error.h"