diff options
author | 2017-09-14 14:04:27 +0200 | |
---|---|---|
committer | 2017-09-14 14:04:27 +0200 | |
commit | 87630355438c21bb30243334e0ed4857e3d06f7c (patch) | |
tree | 6b8de2db1321e90f8f4438f20823b394354b0511 /AFBClient.h | |
parent | 41215ddc3ab972d2d3b31a54576103be75a20f44 (diff) |
Fix compilation on host
original author is Aurelian.
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Diffstat (limited to 'AFBClient.h')
-rw-r--r-- | AFBClient.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/AFBClient.h b/AFBClient.h index d93817b..6947629 100644 --- a/AFBClient.h +++ b/AFBClient.h @@ -2,15 +2,19 @@ #define AFBCLIENT_H #include <systemd/sd-event.h> + +#ifdef AFB #include <json-c/json.h> #include "afb-wsj1.h" #include "afb-ws-client.h" +#endif class AFBClient { public: AFBClient(); + bool init(); void requestSurface(const char *label); void activateSurface(const char *label); void deactivateSurface(const char *label); |