*/
// $Id$
/* (C) 2002 POWERDNS.COM BV */
-#ifndef DNS_HH
-#define DNS_HH
+#pragma once
#include <boost/multi_index_container.hpp>
#include <boost/multi_index/ordered_index.hpp>
#include <boost/tuple/tuple_comparison.hpp>
/** for use by DNSPacket, converts a SOAData class to a ascii line again */
string serializeSOAData(const SOAData &data);
string &attodot(string &str); //!< for when you need to insert an email address in the SOA
-#endif
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef MISC_HH
-#define MISC_HH
+#pragma once
#include <errno.h>
#include <inttypes.h>
#include <cstring>
int closesocket(int fd);
bool setCloseOnExec(int sock);
uint64_t udpErrorStats(const std::string& str);
-#endif