diff options
Diffstat (limited to 'lodepng_util.h')
-rw-r--r-- | lodepng_util.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lodepng_util.h b/lodepng_util.h index e74bbb5..236ad46 100644 --- a/lodepng_util.h +++ b/lodepng_util.h @@ -27,12 +27,13 @@ freely, subject to the following restrictions: Extra C++ utilities for LodePNG, for convenience. */ +#ifndef LODEPNG_UTIL_H +#define LODEPNG_UTIL_H + #include <string> #include <vector> #include "lodepng.h" -#pragma once - namespace lodepng { @@ -149,3 +150,5 @@ struct ZlibBlockInfo void extractZlibInfo(std::vector<ZlibBlockInfo>& zlibinfo, const std::vector<unsigned char>& in); } // namespace lodepng + +#endif /*LODEPNG_UTIL_H inclusion guard*/ |