[Rawstudio-commit] r1882 - trunk/src

Anders Brander anders at brander.dk
Mon Jul 21 01:58:12 CEST 2008


Author: abrander
Date: 2008-07-21 01:58:11 +0200 (Mon, 21 Jul 2008)
New Revision: 1882

Modified:
   trunk/src/rawfile.h
Log:
Header somewhat sanitized.

Modified: trunk/src/rawfile.h
===================================================================
--- trunk/src/rawfile.h	2008-07-20 18:24:23 UTC (rev 1881)
+++ trunk/src/rawfile.h	2008-07-20 23:58:11 UTC (rev 1882)
@@ -16,9 +16,14 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
  */
+#ifndef RAWFILE_H
+#define RAWFILE_H
+
 #define ENDIANSWAP4(a) (((a) & 0x000000FF) << 24 | ((a) & 0x0000FF00) << 8 | ((a) & 0x00FF0000) >> 8) | (((a) & 0xFF000000) >> 24)
 #define ENDIANSWAP2(a) (((a) & 0x00FF) << 8) | (((a) & 0xFF00) >> 8)
 
+#include <gtk/gtk.h>
+
 typedef struct _RAWFILE RAWFILE; /* Defined in rawfile.c */
 
 void raw_init();
@@ -43,3 +48,5 @@
 guint get_first_ifd_offset(RAWFILE *rawfile);
 void *raw_get_map(RAWFILE *rawfile);
 guint raw_get_filesize(RAWFILE *rawfile);
+
+#endif /* RAWFILE_H */




More information about the Rawstudio-commit mailing list