pkgsrc/net/rdist6/patches/patch-ap
dholland 4fc1755c88 Update lukem's earlier fixes to use intmax_t for printing/reading time_t
values, and also for (perhaps not all) off_t values. And while here, fix
an unrelated LP64 bug calling execl(). PKGREVISION -> 4.
2010-06-12 19:36:00 +00:00

14 lines
359 B
Text

$NetBSD: patch-ap,v 1.1 2010/06/12 19:36:01 dholland Exp $
Need inttypes.h for strtoimax for handling time_t safely.
--- include/defs.h.orig 2001-03-12 18:16:30.000000000 +0000
+++ include/defs.h
@@ -42,6 +42,7 @@
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
+#include <inttypes.h>
#include <ctype.h>
#include <errno.h>
#include <pwd.h>