Moved include of config.h above all other includes.

This commit is contained in:
Roger Wolff 2013-10-26 19:13:48 +02:00
parent 51dafcae90
commit edd4258f25
13 changed files with 29 additions and 20 deletions

3
asn.c
View File

@ -16,6 +16,8 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include "config.h"
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
@ -35,7 +37,6 @@
#include <sys/socket.h>
#include <search.h>
#include "config.h"
#include "mtr.h"
#include "asn.h"

View File

@ -16,7 +16,8 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <config.h>
#include "config.h"
#include <strings.h>
#include <unistd.h>

View File

@ -16,7 +16,8 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <config.h>
#include "config.h"
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>

3
dns.c
View File

@ -22,7 +22,8 @@
Released under GPL, as above.
*/
#include <config.h>
#include "config.h"
#include <sys/types.h>
#include <sys/time.h>
#include <sys/select.h>

View File

@ -27,7 +27,7 @@
#endif
#ifdef HAVE_CONFIG_H
#include <config.h>
#include "config.h"
#endif
#if !defined (__STDC__) || !__STDC__

View File

@ -16,7 +16,7 @@
Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#ifdef HAVE_CONFIG_H
#include <config.h>
#include "config.h"
#endif
#include "getopt.h"

2
gtk.c
View File

@ -17,7 +17,7 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <config.h>
#include "config.h"
#include <stdio.h>
#include <stdlib.h>

14
mtr.c
View File

@ -16,19 +16,21 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include "config.h"
#include <sys/types.h>
#include <config.h>
#include <netdb.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <netinet/in.h>
#include <sys/socket.h>
#include <unistd.h>
#include <strings.h>
#include <time.h>
#include <errno.h>
#include <string.h>
#include <strings.h>
#include <netdb.h>
#include <netinet/in.h>
#include <sys/socket.h>
#include <time.h>
#include <ctype.h>
#include <assert.h>
#include <fcntl.h>

4
net.c
View File

@ -16,7 +16,7 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <config.h>
#include "config.h"
#if defined(HAVE_SYS_XTI_H)
#include <sys/xti.h>
@ -1562,4 +1562,4 @@ void net_harvest_fds(void)
net_add_fds(&writefd, &maxfd);
select(maxfd, NULL, &writefd, NULL, &tv);
net_process_fds(&writefd);
}
}

4
raw.c
View File

@ -18,7 +18,8 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <config.h>
#include "config.h"
#include <ctype.h>
#include <stdlib.h>
#include <stdio.h>
@ -27,7 +28,6 @@
#include <netinet/in.h>
#include <arpa/inet.h>
#include "mtr.h"
#include "raw.h"
#include "net.h"

View File

@ -16,7 +16,8 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <config.h>
#include "config.h"
#include <sys/types.h>
#include <stdio.h>
#include <netdb.h>

View File

@ -16,7 +16,8 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <config.h>
#include "config.h"
#include <sys/types.h>
#include <sys/time.h>
#include <stdlib.h>

View File

@ -20,7 +20,8 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <config.h>
#include "config.h"
#include <ctype.h>
#include <stdlib.h>
#include <stdio.h>