aboutsummaryrefslogtreecommitdiffstats
path: root/extcap.h
diff options
context:
space:
mode:
Diffstat (limited to 'extcap.h')
-rw-r--r--extcap.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/extcap.h b/extcap.h
index 5a78d214d8..dd39247dd0 100644
--- a/extcap.h
+++ b/extcap.h
@@ -113,7 +113,11 @@ void
extcap_pref_store(struct _extcap_arg * arg, const char * newval);
/* Clean up global extcap stuff on program exit */
+#ifdef HAVE_EXTCAP
void extcap_cleanup(void);
+#else
+static inline void extcap_cleanup(void) {}
+#endif
#ifdef __cplusplus
}