From: Maria Matejka Date: Sun, 10 Nov 2024 12:32:16 +0000 (+0100) Subject: Defer: fixup missing include guards X-Git-Tag: v3.0.0~88 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03f51079c1641b2c0984bdea742f92d741bec13a;p=thirdparty%2Fbird.git Defer: fixup missing include guards --- diff --git a/lib/defer.h b/lib/defer.h index 69128ef67..895fcce24 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