Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/atari/stand/ahdilabel Include <stdio.h> when built ...



details:   https://anonhg.NetBSD.org/src/rev/8a0c51ed1efc
branches:  trunk
changeset: 504219:8a0c51ed1efc
user:      jdc <jdc%NetBSD.org@localhost>
date:      Sun Feb 25 14:32:59 2001 +0000

description:
Include <stdio.h> when built with -DDEBUG.

diffstat:

 sys/arch/atari/stand/ahdilabel/read.c |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r a5658fac87b6 -r 8a0c51ed1efc sys/arch/atari/stand/ahdilabel/read.c
--- a/sys/arch/atari/stand/ahdilabel/read.c     Sun Feb 25 14:32:20 2001 +0000
+++ b/sys/arch/atari/stand/ahdilabel/read.c     Sun Feb 25 14:32:59 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: read.c,v 1.1.1.1 2000/08/07 09:23:40 leo Exp $ */
+/*     $NetBSD: read.c,v 1.2 2001/02/25 14:32:59 jdc Exp $     */
 
 /*
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -38,6 +38,9 @@
 
 #include "privahdi.h"
 #include <fcntl.h>
+#ifdef DEBUG
+#include <stdio.h>
+#endif
 #include <stdlib.h>
 #include <strings.h>
 #include <unistd.h>



Home | Main Index | Thread Index | Old Index