pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/pkg_install/files/add Include fcntl.h.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2643e1f79291
branches:  trunk
changeset: 553934:2643e1f79291
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Feb 03 19:47:37 2009 +0000

description:
Include fcntl.h.

diffstat:

 pkgtools/pkg_install/files/add/perform.c |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r 880a26fec530 -r 2643e1f79291 pkgtools/pkg_install/files/add/perform.c
--- a/pkgtools/pkg_install/files/add/perform.c  Tue Feb 03 18:26:50 2009 +0000
+++ b/pkgtools/pkg_install/files/add/perform.c  Tue Feb 03 19:47:37 2009 +0000
@@ -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@localhost>
@@ -45,6 +45,9 @@
 #include <err.h>
 #endif
 #include <errno.h>
+#if HAVE_FCNTL_H
+#include <fcntl.h>
+#endif
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>



Home | Main Index | Thread Index | Old Index