opnsense-ports/lang/pbasic/files/patch-bas6.c
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

25 lines
586 B
C

This patch by Julian Stacey <jhs@FreeBSD.Org>
*** bas6.c Fri Aug 11 12:17:21 1995
--- bas6.c Sun Aug 13 15:53:25 1995
***************
*** 162,168 ****
--- 162,179 ----
* written at the same time
*/
+ #ifndef __FreeBSD__
long lseek();
+ /* To phil C phil@gmrs.isar.de
+ From Julian S jhs@freebsd.org
+ Date 950813
+ FreeBSD current has
+ off_t lseek __P((int, off_t, int));
+ & reports
+ /usr/include/unistd.h:82: previous declaration of `lseek'
+ however you might want a more general ifndef BSD or similar perhaps ?
+ */
+ #endif
int
bfopen()