Imported Upstream version 1.3.14
[debian/gzip] / primos / primos.c
index c751c9a2b6d952738b80f618186f42e9f69af614..18e228b69be8c5eaad809f5dce407073af73e046 100644 (file)
@@ -8,6 +8,7 @@
 
 #ifdef __50SERIES
 
+#include <config.h>
 #include <stdio.h>
 #include <fcntl.h>
 #include <sys/stat.h>
@@ -30,7 +31,7 @@ char *getenv(var)
 {
   char buf[256];
   extern char *gvget();
-  
+
   buf[0] = '.';
   strcpy(buf+1, var);
 
@@ -43,7 +44,7 @@ unlink(path)
 {
   return delete(path);
 }
+
 int lstat(path, buf)
   char *path;
   struct stat *buf;
@@ -84,7 +85,7 @@ int stat(path, buf)
 
     case -1:
       return -1;
-      
+
     default:
       buf->st_mode = primos_mode;
       buf->st_size = fsize(path);
@@ -99,7 +100,7 @@ int stat(path, buf)
    */
   buf->st_atime = buf->st_mtime;
   buf->st_ctime = buf->st_mtime;
-  
+
   return 0;
 }