diff options
author | joerg <joerg@pkgsrc.org> | 2007-06-30 19:30:50 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2007-06-30 19:30:50 +0000 |
commit | 2e1dfda39b1a9cf2da6596a510c0126cffd7a7ef (patch) | |
tree | 632eeb30f3866a9c093d79905acddbe542596298 /net/uucp/files/uucpd | |
parent | 27915072a444991c572c39027a1c837cb34e02c9 (diff) | |
download | pkgsrc-2e1dfda39b1a9cf2da6596a510c0126cffd7a7ef.tar.gz |
Fix build on DragonFly.
Diffstat (limited to 'net/uucp/files/uucpd')
-rw-r--r-- | net/uucp/files/uucpd/uucpd.c | 8 |
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> |