From ed070b7b6ae78a32af351d34e2187663036529b8 Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Sat, 23 Jun 2012 01:06:40 +0000 Subject: [PATCH] Wrap standard headers in libresrc.h with #ifndef AGI_PRE Originally committed to SVN as r6916. --- aegisub/src/libresrc/libresrc.cpp | 2 ++ aegisub/src/libresrc/libresrc.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/aegisub/src/libresrc/libresrc.cpp b/aegisub/src/libresrc/libresrc.cpp index fa7665386..2159836b5 100644 --- a/aegisub/src/libresrc/libresrc.cpp +++ b/aegisub/src/libresrc/libresrc.cpp @@ -1,3 +1,5 @@ +#include "../config.h" + #include "libresrc.h" wxBitmap libresrc_getimage(const unsigned char *buff, size_t size) { diff --git a/aegisub/src/libresrc/libresrc.h b/aegisub/src/libresrc/libresrc.h index c8824f07b..33b9ed9cb 100644 --- a/aegisub/src/libresrc/libresrc.h +++ b/aegisub/src/libresrc/libresrc.h @@ -1,9 +1,11 @@ +#ifndef AGI_PRE #include #include #include #include #include +#endif #include "bitmap.h" #include "default_config.h"