Messages in this thread Patch in this message | | | Date | Tue, 26 Mar 1996 07:52:31 +1200 (NZST) | From | "J. Sean Connell" <> | Subject | Re: Linux 1.3.78 and unistd.h |
| |
Probably totally unnecessary, but here's a little patch to automagically munge <stdlib.h> for y'all.
--- unistd.h.orig Tue Mar 26 07:29:03 1996 +++ unistd.h Tue Mar 26 07:30:13 1996 @@ -131,11 +131,11 @@ extern __off_t __lseek __P ((int __fd, __off_t __offset, int __whence)); extern __off_t lseek __P ((int __fd, __off_t __offset, int __whence)); -#if defined(__USE_MISC) && defined(__GNUC__) && !defined(__STRICT_ANSI__) +/*#if defined(__USE_MISC) && defined(__GNUC__) && !defined(__STRICT_ANSI__)*/ /* This is for Linux. */ -extern __loff_t __llseek __P ((int __fd, __loff_t __offset, int __whence)); -extern __loff_t llseek __P ((int __fd, __loff_t __offset, int __whence)); -#endif +/*extern __loff_t __llseek __P ((int __fd, __loff_t __offset, int __whence));*/ +/*extern __loff_t llseek __P ((int __fd, __loff_t __offset, int __whence));*/ +/*#endif*/ /* Close the file descriptor FD. */ extern int __close __P ((int __fd)); -- J. Sean Connell diamond@ihug.co.nz System Administrator, Mondo Computer Services I *hate* lag!
| |