Module Name:    src
Committed By:   christos
Date:           Mon Sep 29 21:04:52 UTC 2014

Modified Files:
        src/lib/libutil: opendisk.c

Log Message:
toolify opendisk


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/lib/libutil/opendisk.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libutil/opendisk.c
diff -u src/lib/libutil/opendisk.c:1.12 src/lib/libutil/opendisk.c:1.13
--- src/lib/libutil/opendisk.c:1.12	Tue Oct 13 18:00:31 2009
+++ src/lib/libutil/opendisk.c	Mon Sep 29 17:04:52 2014
@@ -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 @@ __RCSID("$NetBSD: opendisk.c,v 1.12 2009
 #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>
 

Reply via email to