1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 04:31:29 +00:00

Rearrange some headers to make sure that out nbase errno defines are seen early,

avoiding warning about symbol redefinitions. This is mostly moving "nmap.h" to
the top of the list.
This commit is contained in:
david
2010-11-04 22:43:00 +00:00
parent fa320a9c16
commit d4e49f1075
11 changed files with 33 additions and 22 deletions

7
xml.cc
View File

@@ -145,14 +145,15 @@ All writing is done with log_write(LOG_XML), so if LOG_XML hasn't been
opened, calling these functions has no effect.
*/
#include "nmap.h"
#include "output.h"
#include "xml.h"
#include <assert.h>
#include <stdarg.h>
#include <stdio.h>
#include <list>
#include "output.h"
#include "xml.h"
struct xml_writer {
/* Sanity checking: Don't open a new tag while still defining
attributes for another, like "<elem1<elem2". */