Source-Changes-HG archive

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

[src/trunk]: src/lib/libutil toolify opendisk



details:   https://anonhg.NetBSD.org/src/rev/6379f659f5b0
branches:  trunk
changeset: 332583:6379f659f5b0
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Sep 29 21:04:52 2014 +0000

description:
toolify opendisk

diffstat:

 lib/libutil/opendisk.c |  12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diffs (37 lines):

diff -r 973c6821b401 -r 6379f659f5b0 lib/libutil/opendisk.c
--- a/lib/libutil/opendisk.c    Mon Sep 29 21:04:34 2014 +0000
+++ b/lib/libutil/opendisk.c    Mon Sep 29 21:04:52 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: opendisk.c,v 1.12 2009/10/13 22:00:31 pooka Exp $      */
+/*     $NetBSD: opendisk.c,v 1.13 2014/09/29 21:04:52 christos Exp $   */
 
 /*-
  * Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -29,9 +29,13 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 
+#if HAVE_NBTOOL_CONFIG_H
+#include "nbtool_config.h"
+#endif
+
 #include <sys/cdefs.h>
 #if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: opendisk.c,v 1.12 2009/10/13 22:00:31 pooka Exp $");
+__RCSID("$NetBSD: opendisk.c,v 1.13 2014/09/29 21:04:52 christos Exp $");
 #endif
 
 #include <sys/param.h>
@@ -39,8 +43,12 @@
 #include <assert.h>
 #include <errno.h>
 #include <fcntl.h>
+#ifndef HAVE_NBTOOL_CONFIG_H
 #include <util.h>
 #include <paths.h>
+#else
+#include "opendisk.h"
+#endif
 #include <stdio.h>
 #include <string.h>
 



Home | Main Index | Thread Index | Old Index