summaryrefslogtreecommitdiff
path: root/net/uucp/files
diff options
context:
space:
mode:
authorjoerg <joerg>2007-06-30 19:30:50 +0000
committerjoerg <joerg>2007-06-30 19:30:50 +0000
commitb8d5d4634154b512201af5291b75fb364b37394c (patch)
tree632eeb30f3866a9c093d79905acddbe542596298 /net/uucp/files
parentab19ba1e517f4263aeffe8a0569fcf95cd14dda4 (diff)
downloadpkgsrc-b8d5d4634154b512201af5291b75fb364b37394c.tar.gz
Fix build on DragonFly.
Diffstat (limited to 'net/uucp/files')
-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>