Index: trunk/psModules/src/objects/pmSourceIO_CMP.c
===================================================================
--- trunk/psModules/src/objects/pmSourceIO_CMP.c	(revision 8788)
+++ trunk/psModules/src/objects/pmSourceIO_CMP.c	(revision 8813)
@@ -3,6 +3,6 @@
  *  @author EAM, IfA
  *
- *  @version $Revision: 1.11 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2006-09-11 22:28:55 $
+ *  @version $Revision: 1.12 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2006-09-14 23:01:28 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -96,5 +96,10 @@
         return false;
     }
+    #if defined _LARGEFILE_SOURCE && defined HAVE_SEEKO
     fseeko (f, 0, SEEK_END);
+    #else
+
+    fseek(f, 0, SEEK_END);
+    #endif
 
     psLine *line = psLineAlloc (67);  // 66 is imclean-defined line length
@@ -177,5 +182,10 @@
         return NULL;
     }
+    #if defined _LARGEFILE_SOURCE && defined HAVE_SEEKO
     fseeko (f, nBytes, SEEK_SET);
+    #else
+
+    fseek(f, nBytes, SEEK_SET);
+    #endif
 
     // prepare array to store data
