mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-05 22:43:24 +00:00
0724fa35f7
Submitted by: Juergen Lock <nox@jelal.hb.north.de> (w/many organizational changes by me) Closes PR: ports/1991
47 lines
1.1 KiB
Plaintext
47 lines
1.1 KiB
Plaintext
--- 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 ();
|