pkgsrc/emulators/twin/patches/patch-an
joerg fcfec7dec3 Add DragonFly support. Workaround a bug in DragonFly's time.h when
compiling with _POSIX_SOURCE set (size_t doesn't get defined).
Fix errno. Fix an incorrect va_arg: short gets promoted to int, so use
that.
2006-01-15 19:20:59 +00:00

20 lines
544 B
Text

$NetBSD: patch-an,v 1.1 2006/01/15 19:20:59 joerg Exp $
--- msdos/fat_fileio.c.orig 2006-01-15 18:54:48.000000000 +0000
+++ msdos/fat_fileio.c
@@ -30,6 +30,7 @@ To send email to the maintainer of the W
#include "platform.h"
+#include <errno.h>
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
@@ -132,7 +133,6 @@ fat_open(DWORD p1, DWORD p2, DWORD p3, D
int DosHandle;
int slot,handle,freeslot;
- extern int errno;
int nclosed;
LPMFSFILE fp;
DWORD DosDrive;