summaryrefslogtreecommitdiffstats
path: root/src/afb-hook.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/afb-hook.c')
-rw-r--r--src/afb-hook.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/afb-hook.c b/src/afb-hook.c
index f11ce0d3..f8b593df 100644
--- a/src/afb-hook.c
+++ b/src/afb-hook.c
@@ -15,6 +15,8 @@
* limitations under the License.
*/
+#if WITH_AFB_HOOK /***********************************************************/
+
#define _GNU_SOURCE
#include <limits.h>
@@ -1848,3 +1850,4 @@ void afb_hook_unref_global(struct afb_hook_global *hook)
}
}
+#endif /* WITH_AFB_HOOK *******************************************************/