Skip to content

Instantly share code, notes, and snippets.

@Themaister
Created March 8, 2012 23:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Themaister/2004169 to your computer and use it in GitHub Desktop.
Save Themaister/2004169 to your computer and use it in GitHub Desktop.
From a30607e9b99511590d521d25ca093afd9e535244 Mon Sep 17 00:00:00 2001
From: Themaister <maister@archlinux.us>
Date: Fri, 9 Mar 2012 00:38:13 +0100
Subject: [PATCH] Do not include png.h when targeting libsnes.
---
src/burner/burner.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/burner/burner.h b/src/burner/burner.h
index c609642..4f943a7 100644
--- a/src/burner/burner.h
+++ b/src/burner/burner.h
@@ -42,7 +42,9 @@ typedef struct tagIMAGE {
#include "burner_xbox.h"
#endif
+#if !defined (__LIBSNES__)
#include "png.h"
+#endif
// ---------------------------------------------------------------------------
// OS independent functionality
--
1.7.9.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment