Skip to content

Commit

Permalink
Fix build when boost json is not available.
Browse files Browse the repository at this point in the history
  • Loading branch information
wengxt committed Apr 21, 2024
1 parent f75f788 commit 8819a88
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/chttrans/chttrans.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,10 @@
#include "chttrans-opencc.h"
#include <boost/iostreams/device/file_descriptor.hpp>
#include <boost/iostreams/stream.hpp>
#ifdef HAS_BOOST_JSON
#include <boost/json/src.hpp>
#endif
#endif
#include "chttrans-native.h"
#include <fcitx/inputcontext.h>
#include <fcitx/userinterfacemanager.h>
Expand Down

0 comments on commit 8819a88

Please sign in to comment.