pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/pbulk/files/pbulk/pbuild Wrap inclusion of in...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9d5d8a6dcffd
branches:  trunk
changeset: 531156:9d5d8a6dcffd
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sat Jul 21 15:44:02 2007 +0000

description:
Wrap inclusion of inttypes.h in #ifdef HAVE_INTTYPES_H

diffstat:

 pkgtools/pbulk/files/pbulk/pbuild/pbuild.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r e572987dc34f -r 9d5d8a6dcffd pkgtools/pbulk/files/pbulk/pbuild/pbuild.h
--- a/pkgtools/pbulk/files/pbulk/pbuild/pbuild.h        Sat Jul 21 15:36:36 2007 +0000
+++ b/pkgtools/pbulk/files/pbulk/pbuild/pbuild.h        Sat Jul 21 15:44:02 2007 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pbuild.h,v 1.2 2007/06/25 21:38:45 joerg Exp $ */
+/* $NetBSD: pbuild.h,v 1.3 2007/07/21 15:44:02 tnn Exp $ */
 
 /*-
  * Copyright (c) 2007 Joerg Sonnenberger <joerg%NetBSD.org@localhost>.
@@ -32,7 +32,9 @@
  */
 
 #include <nbcompat/queue.h>
+#ifdef HAVE_INTTYPES_H
 #include <inttypes.h>
+#endif
 
 enum job_state {
        JOB_INIT,



Home | Main Index | Thread Index | Old Index