From ffdd34a41a1119c255420aaea3c95ee6836d20d1 Mon Sep 17 00:00:00 2001 From: arvidn Date: Sun, 11 Nov 2018 16:11:33 +0100 Subject: [PATCH] add include guard to puff.hpp --- include/libtorrent/puff.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/libtorrent/puff.hpp b/include/libtorrent/puff.hpp index 5bd50b577..9aa59111c 100644 --- a/include/libtorrent/puff.hpp +++ b/include/libtorrent/puff.hpp @@ -21,6 +21,8 @@ Mark Adler madler@alumni.caltech.edu */ +#ifndef PUFF_HPP_INCLUDED +#define PUFF_HPP_INCLUDED /* * See puff.c for purpose and usage. @@ -29,3 +31,5 @@ int puff(unsigned char *dest, /* pointer to destination pointer */ unsigned long *destlen, /* amount of output space */ const unsigned char *source, /* pointer to source data pointer */ unsigned long *sourcelen); /* amount of input available */ + +#endif // PUFF_HPP_INCLUDED