summaryrefslogtreecommitdiff
path: root/net/uucp
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-06-30 19:30:50 +0000
committerjoerg <joerg@pkgsrc.org>2007-06-30 19:30:50 +0000
commit323bc6a6f8e801896bcb60f329dc8718cc574f49 (patch)
tree632eeb30f3866a9c093d79905acddbe542596298 /net/uucp
parent90b4a6a8ab88373f4f8e91d3703743de1130cbc9 (diff)
downloadpkgsrc-323bc6a6f8e801896bcb60f329dc8718cc574f49.tar.gz
Fix build on DragonFly.
Diffstat (limited to 'net/uucp')
-rw-r--r--net/uucp/files/uucpd/uucpd.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/net/uucp/files/uucpd/uucpd.c b/net/uucp/files/uucpd/uucpd.c
index 083e40b9dca..41e3e5c9334 100644
--- a/net/uucp/files/uucpd/uucpd.c
+++ b/net/uucp/files/uucpd/uucpd.c
@@ -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 @@ __COPYRIGHT("@(#) Copyright (c) 1985 The Regents of the University of California
#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 @@ __RCSID("$NetBSD: uucpd.c,v 1.1 2007/03/15 20:02:20 christos Exp $");
#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>