Index: trunk/Ohana/src/libfits/include/fitsio.h
===================================================================
--- trunk/Ohana/src/libfits/include/fitsio.h	(revision 4864)
+++ trunk/Ohana/src/libfits/include/fitsio.h	(revision 5238)
@@ -3,4 +3,24 @@
 # ifndef FITSIO
 # define FITSIO
+
+/* also defined in libautocode/def/common.h */
+/* what about lin64 ?? - 'linux' might be defined automatically by linux */
+# ifndef BYTE_SWAP
+# ifdef linux
+# define BYTE_SWAP
+# endif
+
+# ifdef sid
+# define BYTE_SWAP
+# endif
+
+# ifdef dec
+# define BYTE_SWAP
+# endif
+# endif /* BYTE_SWAP */
+
+# ifndef NEWLINE
+# define NEWLINE                 10  /* UNIX RETURN character */
+# endif /* NEWLINE */
 
 /********** FITS Constants *********/
