[tor-commits] [tor/master] Add guard macro for eventdns_tor.h
nickm at torproject.org
nickm at torproject.org
Mon Oct 15 15:21:42 UTC 2012
commit 0d9c336a878c8518a59522a1b811ea32f1edbb83
Author: Nick Mathewson <nickm at torproject.org>
Date: Fri Oct 12 12:08:05 2012 -0400
Add guard macro for eventdns_tor.h
---
src/or/eventdns_tor.h | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/or/eventdns_tor.h b/src/or/eventdns_tor.h
index 4c40b35..f7a2d70 100644
--- a/src/or/eventdns_tor.h
+++ b/src/or/eventdns_tor.h
@@ -1,6 +1,9 @@
/* Copyright (c) 2007-2012, The Tor Project, Inc. */
/* See LICENSE for licensing information */
+#ifndef TOR_EVENTDNS_TOR_H
+#define TOR_EVENTDNS_TOR_H
+
#include "orconfig.h"
#define DNS_USE_OPENSSL_FOR_ID
#ifndef HAVE_UINT
@@ -18,3 +21,4 @@ typedef unsigned char u_char;
#include "util.h"
#include "compat.h"
+#endif
More information about the tor-commits
mailing list