--- rasmol.h.orig	2008-03-22 14:23:10.000000000 -0500
+++ rasmol.h	2014-10-09 23:52:00.000000000 -0500
@@ -83,17 +83,17 @@
 /* #define X11WIN       */    /* X11WIN or GTKWIN defined in Imakefile */
 #define UNIX
 
-/* #define DIALBOX      */
+#define DIALBOX
 #ifndef GTKWIN
 #define SOCKETS
 #endif
 #define TERMIOS
-#define PROFILE
+/*#define PROFILE*/
 #define MITSHM
 
-/* #define HAVEZLIB     */
-/* #define HAVELIBJPEG  */
-/* #define HAVELIBPNG   */
+#define HAVEZLIB
+#define HAVELIBJPEG
+#define HAVELIBPNG
 
 /* #define HPUX_LEGACY  */     /* define this for old-style hpux select */
 
@@ -109,7 +109,7 @@
 /* #define XPROCARCH    */
 #define USE_UNAME
 
-#define USE_CBFLIB
+/* #define USE_CBFLIB */
 
 
 /*========================*/
@@ -198,6 +198,9 @@
 typedef char Char;
 #endif
 
+#ifdef __LP64__
+#define _LONGLONG
+#endif
 #ifdef _LONGLONG
 typedef unsigned int Card;
 typedef int Long;