mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-15 15:01:21 +00:00
lib: guard checksum.h against multiple inclusion
checksum.h was throwing errors if it ended up included twice. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
This commit is contained in:
parent
fe972cbfd4
commit
264c806da9
@ -1,3 +1,6 @@
|
||||
#ifndef _FRR_CHECKSUM_H
|
||||
#define _FRR_CHECKSUM_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include <netinet/in.h>
|
||||
|
||||
@ -35,3 +38,5 @@ extern uint16_t fletcher_checksum(uint8_t *, const size_t len,
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _FRR_CHECKSUM_H */
|
||||
|
Loading…
Reference in New Issue
Block a user