summaryrefslogtreecommitdiff
path: root/Source/3rdParty/SDL2/src/video/dummy
diff options
context:
space:
mode:
Diffstat (limited to 'Source/3rdParty/SDL2/src/video/dummy')
-rw-r--r--Source/3rdParty/SDL2/src/video/dummy/SDL_nullevents_c.h6
-rw-r--r--Source/3rdParty/SDL2/src/video/dummy/SDL_nullframebuffer_c.h6
2 files changed, 12 insertions, 0 deletions
diff --git a/Source/3rdParty/SDL2/src/video/dummy/SDL_nullevents_c.h b/Source/3rdParty/SDL2/src/video/dummy/SDL_nullevents_c.h
index a5636be..454d394 100644
--- a/Source/3rdParty/SDL2/src/video/dummy/SDL_nullevents_c.h
+++ b/Source/3rdParty/SDL2/src/video/dummy/SDL_nullevents_c.h
@@ -18,10 +18,16 @@
misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
*/
+
+#ifndef SDL_nullevents_c_h_
+#define SDL_nullevents_c_h_
+
#include "../../SDL_internal.h"
#include "SDL_nullvideo.h"
extern void DUMMY_PumpEvents(_THIS);
+#endif /* SDL_nullevents_c_h_ */
+
/* vi: set ts=4 sw=4 expandtab: */
diff --git a/Source/3rdParty/SDL2/src/video/dummy/SDL_nullframebuffer_c.h b/Source/3rdParty/SDL2/src/video/dummy/SDL_nullframebuffer_c.h
index 5d6b7ae..b7d0c63 100644
--- a/Source/3rdParty/SDL2/src/video/dummy/SDL_nullframebuffer_c.h
+++ b/Source/3rdParty/SDL2/src/video/dummy/SDL_nullframebuffer_c.h
@@ -18,10 +18,16 @@
misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
*/
+
+#ifndef SDL_nullframebuffer_c_h_
+#define SDL_nullframebuffer_c_h_
+
#include "../../SDL_internal.h"
extern int SDL_DUMMY_CreateWindowFramebuffer(_THIS, SDL_Window * window, Uint32 * format, void ** pixels, int *pitch);
extern int SDL_DUMMY_UpdateWindowFramebuffer(_THIS, SDL_Window * window, const SDL_Rect * rects, int numrects);
extern void SDL_DUMMY_DestroyWindowFramebuffer(_THIS, SDL_Window * window);
+#endif /* SDL_nullframebuffer_c_h_ */
+
/* vi: set ts=4 sw=4 expandtab: */