소스 검색

Add guard macro for eventdns_tor.h

Nick Mathewson 11 년 전
부모
커밋
0d9c336a87
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      src/or/eventdns_tor.h

+ 4 - 0
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