aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMariusz Zaborski <oshogbo@FreeBSD.org>2017-11-12 07:18:10 +0000
committerMariusz Zaborski <oshogbo@FreeBSD.org>2017-11-12 07:18:10 +0000
commit8751b03b196418dd20b06172e2c190b542e09b63 (patch)
treec600c660915d9a470ee0a0a1e9ea38cc4fe63857 /lib
parentec8659b38509bc8932daf1fc8150210acf111e25 (diff)
Notes
Diffstat (limited to 'lib')
-rw-r--r--lib/libcasper/libcasper/libcasper.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libcasper/libcasper/libcasper.h b/lib/libcasper/libcasper/libcasper.h
index a49561bcbd81..8ad15bc65109 100644
--- a/lib/libcasper/libcasper/libcasper.h
+++ b/lib/libcasper/libcasper/libcasper.h
@@ -56,11 +56,13 @@ typedef struct nvlist nvlist_t;
struct cap_channel;
typedef struct cap_channel cap_channel_t;
+#define CASPER_SUPPORT (1)
#else
struct cap_channel {
int cch_fd;
};
typedef struct cap_channel cap_channel_t;
+#define CASPER_SUPPORT (0)
#endif /* ! WITH_CASPER */
#endif /* ! _CAP_CHANNEL_T_DECLARED */