From 54a952cb6e48abe6b339097b115b5995f3b8a943 Mon Sep 17 00:00:00 2001
From: kramm <kramm>
Date: Mon, 1 May 2006 08:29:23 +0000
Subject: [PATCH] fixes

---
 lib/devices/file.h |   15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)

diff --git a/lib/devices/file.h b/lib/devices/file.h
index e084a3b..7533916 100644
--- a/lib/devices/file.h
+++ b/lib/devices/file.h
@@ -19,11 +19,20 @@
    along with this program; if not, write to the Free Software
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */
 
-#ifndef __swfoutput_h__
-#define __swfoutput_h__
+#ifndef __gfxdevice_file_h__
+#define __gfxdevice_file_h__
+
+
+#ifdef __cplusplus
+extern "C" {
+#endif
 
 #include "../gfxdevice.h"
 
 void gfxdevice_file_init(gfxdevice_t*, char*filename);
 
-#endif //__swfoutput_h__
+#ifdef __cplusplus
+}
+#endif
+
+#endif //gfxdevice_file_h__
-- 
1.7.10.4