diff options
author | Remko Tronçon <remko@synopsys.com> | 2011-09-30 17:10:20 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2011-09-30 17:15:59 (GMT) |
commit | 75818abb4baa26649baf8d3bf6709aefcda7195f (patch) | |
tree | 25cf8cc224100688d813ab57f3ccf32771f1bdf1 /Swiften/Network/NATPMPInterface.h | |
parent | a98f648f5cfbf474c566bd63193047e5381e7d5e (diff) | |
download | swift-contrib-75818abb4baa26649baf8d3bf6709aefcda7195f.zip swift-contrib-75818abb4baa26649baf8d3bf6709aefcda7195f.tar.bz2 |
Fixed some Windows issues with FT.
Diffstat (limited to 'Swiften/Network/NATPMPInterface.h')
-rw-r--r-- | Swiften/Network/NATPMPInterface.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Swiften/Network/NATPMPInterface.h b/Swiften/Network/NATPMPInterface.h index 55f5b87..6e7fb73 100644 --- a/Swiften/Network/NATPMPInterface.h +++ b/Swiften/Network/NATPMPInterface.h @@ -7,11 +7,13 @@ #pragma once #include <boost/optional.hpp> -#include <natpmp.h> - #include <Swiften/Network/NATPortMapping.h> #include <Swiften/Network/NATTraversalInterface.h> +// This has to be included after the previous headers, because of WIN32 macro +// being defined somewhere. +#include <natpmp.h> + namespace Swift { class NATPMPInterface : public NATTraversalInterface { public: |