From 03f51079c1641b2c0984bdea742f92d741bec13a Mon Sep 17 00:00:00 2001 From: Maria Matejka Date: Sun, 10 Nov 2024 13:32:16 +0100 Subject: [PATCH] Defer: fixup missing include guards --- lib/defer.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/defer.h b/lib/defer.h index 69128ef6..895fcce2 100644 --- a/lib/defer.h +++ b/lib/defer.h @@ -12,6 +12,9 @@ * full-blown event list overhead. Therefore, one just can use this tool * instead. */ +#ifndef _BIRD_LIB_DEFER_H_ +#define _BIRD_LIB_DEFER_H_ + #include "lib/birdlib.h" #include "lib/event.h" #include "lib/resource.h" @@ -46,3 +49,5 @@ static inline void defer_call(struct deferred_call *call, size_t actual_size) { *local_deferred.last = a; local_deferred.last = &a->next; } + +#endif