Moved #ifdef RS_WEBUI inside RS_JSONAPI ifdefs so that the webui files cannot be requested unless jsonapi files are compiled

This commit is contained in:
csoler 2019-11-27 21:14:20 +01:00
parent 50529654f8
commit 9a24af87a4
No known key found for this signature in database
GPG key ID: 7BCA522266C0804C
8 changed files with 32 additions and 17 deletions

View file

@ -30,8 +30,9 @@
#include "rsharesettings.h"
#include "gui/MainWindow.h"
// for this one, we'd rather use a file in retroshare/*h list.
#include <jsonapi/jsonapi.h>
#ifdef RS_JSONAPI
#include <retroshare/rsjsonapi.h>
#endif
#include <retroshare/rsnotify.h>
#include <retroshare/rspeers.h>