diff options
-rw-r--r-- | pkgtools/pkg_install/files/add/perform.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgtools/pkg_install/files/add/perform.c b/pkgtools/pkg_install/files/add/perform.c index 5a2d09f98de..e1adba5b3e5 100644 --- a/pkgtools/pkg_install/files/add/perform.c +++ b/pkgtools/pkg_install/files/add/perform.c @@ -1,4 +1,4 @@ -/* $NetBSD: perform.c,v 1.74 2009/02/02 12:35:00 joerg Exp $ */ +/* $NetBSD: perform.c,v 1.75 2009/02/03 19:47:37 joerg Exp $ */ #if HAVE_CONFIG_H #include "config.h" #endif @@ -6,7 +6,7 @@ #if HAVE_SYS_CDEFS_H #include <sys/cdefs.h> #endif -__RCSID("$NetBSD: perform.c,v 1.74 2009/02/02 12:35:00 joerg Exp $"); +__RCSID("$NetBSD: perform.c,v 1.75 2009/02/03 19:47:37 joerg Exp $"); /*- * Copyright (c) 2003 Grant Beattie <grant@NetBSD.org> @@ -45,6 +45,9 @@ __RCSID("$NetBSD: perform.c,v 1.74 2009/02/02 12:35:00 joerg Exp $"); #include <err.h> #endif #include <errno.h> +#if HAVE_FCNTL_H +#include <fcntl.h> +#endif #include <stdlib.h> #include <string.h> #include <unistd.h> |