make including config.h always depend on HAVE_CONFIG_H; replace printf() by debug()
This commit is contained in:
1 parent
0e6b1253a9
commit
1899ff755c
24 files changed
+80
-51
No files matched your search
+10
-7
@@ -1,4 +1,3 @@
|
||||
#include "config.h"
|
||||
#include <unistd.h>
|
||||
#include <stddef.h>
|
||||
#include <stdio.h>
|
||||
@@ -7,17 +6,21 @@
|
||||
#include <stdlib.h>
|
||||
#include <sys/types.h>
|
||||
#ifndef WINSOCK2
|
||||
#include <sys/socket.h>
|
||||
#include <sys/un.h>
|
||||
#include <netinet/in.h>
|
||||
#include <netdb.h>
|
||||
#include <arpa/inet.h>
|
||||
# include <sys/socket.h>
|
||||
# include <sys/un.h>
|
||||
# include <netinet/in.h>
|
||||
# include <netdb.h>
|
||||
# include <arpa/inet.h>
|
||||
#else
|
||||
#include <winsock2.h>
|
||||
# include <winsock2.h>
|
||||
#endif
|
||||
#include <stdarg.h>
|
||||
#include <fcntl.h>
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
# include "config.h"
|
||||
#endif
|
||||
|
||||
#include "report.h"
|
||||
#include "sockets.h"
|
||||
|
||||
|
||||
Reference in new issue
Block a user