pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/uucp/files/uucpd Fix build on DragonFly.
details: https://anonhg.NetBSD.org/pkgsrc/rev/d376b11a8c52
branches: trunk
changeset: 530455:d376b11a8c52
user: joerg <joerg%pkgsrc.org@localhost>
date: Sat Jun 30 19:30:50 2007 +0000
description:
Fix build on DragonFly.
diffstat:
net/uucp/files/uucpd/uucpd.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diffs (30 lines):
diff -r 18a9ce6b65d3 -r d376b11a8c52 net/uucp/files/uucpd/uucpd.c
--- a/net/uucp/files/uucpd/uucpd.c Sat Jun 30 19:18:47 2007 +0000
+++ b/net/uucp/files/uucpd/uucpd.c Sat Jun 30 19:30:50 2007 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uucpd.c,v 1.1 2007/03/15 20:02:20 christos Exp $ */
+/* $NetBSD: uucpd.c,v 1.2 2007/06/30 19:30:50 joerg Exp $ */
/*
* Copyright (c) 1985 The Regents of the University of California.
@@ -39,7 +39,7 @@
#if 0
static char sccsid[] = "from: @(#)uucpd.c 5.10 (Berkeley) 2/26/91";
#else
-__RCSID("$NetBSD: uucpd.c,v 1.1 2007/03/15 20:02:20 christos Exp $");
+__RCSID("$NetBSD: uucpd.c,v 1.2 2007/06/30 19:30:50 joerg Exp $");
#endif
#endif /* not lint */
@@ -70,7 +70,11 @@
#include <string.h>
#include <time.h>
#include <unistd.h>
+#if defined(__DragonFly__)
+#include <libutil.h>
+#else
#include <util.h>
+#endif
#include <time.h>
#ifdef SUPPORT_UTMP
#include <utmp.h>
Home |
Main Index |
Thread Index |
Old Index