fcfec7dec3
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.
12 lines
299 B
Text
12 lines
299 B
Text
$NetBSD: patch-am,v 1.1 2006/01/15 19:20:59 joerg Exp $
|
|
|
|
--- msdos/dos_timer.c.orig 2006-01-15 18:50:44.000000000 +0000
|
|
+++ msdos/dos_timer.c
|
|
@@ -31,6 +31,7 @@ To send email to the maintainer of the W
|
|
#include "platform.h"
|
|
|
|
#define _POSIX_SOURCE 1
|
|
+#include <sys/types.h>
|
|
#include <time.h>
|
|
|
|
|