config-store: forward declare xmlTextWriter

Signed-off-by: Gabriel Ferreira <gabrielcarvfer@gmail.com>
This commit is contained in:
Gabriel Ferreira
2023-01-30 18:54:17 -03:00
parent 279369bade
commit 3816294b09
2 changed files with 6 additions and 2 deletions

View File

@@ -29,6 +29,7 @@
#include "ns3/string.h"
#include <libxml/encoding.h>
#include <libxml/xmlreader.h>
#include <libxml/xmlwriter.h>
namespace ns3

View File

@@ -22,10 +22,13 @@
#include "file-config.h"
#include <libxml/xmlreader.h>
#include <libxml/xmlwriter.h>
#include <string>
// These are in #include <libxml/xmlwriter.h>,
// here we just need a forward declaration.
typedef struct _xmlTextWriter xmlTextWriter;
typedef xmlTextWriter* xmlTextWriterPtr;
namespace ns3
{