]> git.ipfire.org Git - thirdparty/pdns.git/blobdiff - pdns/lwres.hh
Fix compilation on systems that do not define HOST_NAME_MAX
[thirdparty/pdns.git] / pdns / lwres.hh
index 510ae9e23def60897d413a776d77ecc38a54d1e4..36a6d714fcd4d7c647c8467f5a9f0bac81897203 100644 (file)
@@ -19,8 +19,7 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
-#ifndef PDNS_LWRES_HH
-#define PDNS_LWRES_HH
+#pragma once
 #include <string>
 #include <vector>
 #include <sys/types.h>
@@ -71,4 +70,3 @@ public:
 };
 
 int asyncresolve(const ComboAddress& ip, const DNSName& domain, int type, bool doTCP, bool sendRDQuery, int EDNS0Level, struct timeval* now, boost::optional<Netmask>& srcmask, boost::optional<const ResolveContext&> context, const std::shared_ptr<std::vector<std::unique_ptr<RemoteLogger>>>& outgoingLoggers, const std::shared_ptr<std::vector<std::unique_ptr<FrameStreamLogger>>>& fstrmLoggers, const std::set<uint16_t>& exportTypes, LWResult* res, bool* chained);
-#endif // PDNS_LWRES_HH