From 34e538a8ca24904d7b4bd3b274d73356579d2cb0 Mon Sep 17 00:00:00 2001 From: DRC Date: Tue, 24 May 2011 09:15:44 +0000 Subject: [PATCH] Prevent header from being included multiple times --- turbojpeg.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/turbojpeg.h b/turbojpeg.h index 37e492c8..4bc91477 100644 --- a/turbojpeg.h +++ b/turbojpeg.h @@ -26,6 +26,9 @@ * POSSIBILITY OF SUCH DAMAGE. */ +#ifndef __TURBOJPEG_H__ +#define __TURBOJPEG_H__ + #if defined(_WIN32) && defined(DLLDEFINE) #define DLLEXPORT __declspec(dllexport) #else @@ -772,3 +775,5 @@ DLLEXPORT int DLLCALL tjDecompress(tjhandle handle, #ifdef __cplusplus } #endif + +#endif