make including config.h always depend on HAVE_CONFIG_H; replace printf() by debug()

This commit is contained in:
marschap
2007-06-17 10:20:55 +00:00
parent 0e6b1253a9
commit 1899ff755c
24 changed files with 80 additions and 51 deletions
+5 -1
View File
@@ -2,7 +2,7 @@
/* Copyright (C) 1999 David Glaude loosely based on workmanir.c */
/* workmanir.c - test/demo of LIBIR's high level command functions */
/* Copyright (C) 1998 Tom Wheeley, see file COPYING for details */
#include <config.h>
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
@@ -22,6 +22,10 @@
#define NAME_LENGTH 128
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "lcd.h"
#include "irmanin.h"
#include "report.h"