소스 검색

src/common/compat_libevent.h: include testsupport.h

When tor is configured with --enable-bufferevents, the build fails
because compat_libevent.h makes use of the macro MOCK_DECL() which
is defined in testsupport.h, but not included.  We add the include.
Anthony G. Basile 9 년 전
부모
커밋
8df35a0c88
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/common/compat_libevent.h

+ 1 - 0
src/common/compat_libevent.h

@@ -5,6 +5,7 @@
 #define TOR_COMPAT_LIBEVENT_H
 
 #include "orconfig.h"
+#include "testsupport.h"
 
 struct event;
 struct event_base;