make including config.h always depend on HAVE_CONFIG_H; replace printf() by debug()
This commit is contained in:
@@ -20,7 +20,6 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <sys/types.h> /* for semaphore functions */
|
||||
@@ -28,6 +27,10 @@
|
||||
#include <sys/sem.h>
|
||||
#include <errno.h>
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
# include "config.h"
|
||||
#endif
|
||||
|
||||
#include "lcd_sem.h"
|
||||
|
||||
// according to X/OPEN we have to define it ourselves
|
||||
|
||||
Reference in New Issue
Block a user