summaryrefslogtreecommitdiffstats
path: root/sysutils/afio/files/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/afio/files/patch-ac')
-rw-r--r--sysutils/afio/files/patch-ac46
1 files changed, 46 insertions, 0 deletions
diff --git a/sysutils/afio/files/patch-ac b/sysutils/afio/files/patch-ac
new file mode 100644
index 0000000..6c22cbc
--- /dev/null
+++ b/sysutils/afio/files/patch-ac
@@ -0,0 +1,46 @@
+--- afio.h.orig Sun Jan 21 04:58:12 1996
++++ afio.h Mon Jan 6 00:53:13 1997
+@@ -1,5 +1,9 @@
+ /* afio.h defines for afio. */
+
++#ifdef HAVE_PARAM_H
++#include <sys/param.h>
++#endif
++
+ #ifdef SYSTIME
+ #include <sys/time.h>
+ #else /* SYSTIME */
+@@ -107,15 +111,15 @@
+ #define PH_SCAN "%6lo%6lo%6lo%6lo%6lo%6lo%6lo%11lo%6o%11lo"
+
+ typedef struct {
+-long unsigned int st_dev;
+-long unsigned int st_ino;
+-long unsigned int st_mode;
+-long unsigned int st_uid;
+-long unsigned int st_gid;
+-long unsigned int st_nlink;
+-long unsigned int st_rdev;
+-long unsigned int st_mtime;
+-long unsigned int st_size;
++long unsigned int PSt_dev;
++long unsigned int PSt_ino;
++long unsigned int PSt_mode;
++long unsigned int PSt_uid;
++long unsigned int PSt_gid;
++long unsigned int PSt_nlink;
++long unsigned int PSt_rdev;
++long unsigned int PSt_mtime;
++long unsigned int PSt_size;
+ } PStat;
+
+ #define H_STRLEN 70 /* ASCII header string length */
+@@ -388,7 +392,7 @@
+ #ifndef MKDIR
+ int rmdir ();
+ #endif
+-#ifndef linux
++#if !defined (linux) && !(defined(BSD) && (BSD >= 199103))
+ VOIDFN (*signal ())();
+ #endif
+ int fswrite ();
OpenPOWER on IntegriCloud