Bug 1386164 - Part 1. Use libevent2 headers instead of deprecated event.h. r=jesup

libevent uses event.h header that is fuzzy name.  Since our in-tree libevent is libevent2, we should use libevent2 headers instead of deprecated event.h

MozReview-Commit-ID: 6DjW9JEkNWL

--HG--
extra : rebase_source : b774e177b137bf7427122253a3e4c698689e08a4
This commit is contained in:
Makoto Kato 2017-08-03 13:22:26 +09:00
parent 1bd3bc937c
commit b2458fa168
2 changed files with 6 additions and 1 deletions

View File

@ -1277,6 +1277,9 @@ bzlib.h
gio/gio.h
#if MOZ_SYSTEM_LIBEVENT==1
event.h
event2/event.h
event2/event_compat.h
event2/event_struct.h
#else
sys/event.h
#endif

View File

@ -14,7 +14,9 @@
#include <string.h>
#include <unistd.h>
#include "libevent/include/event.h"
#include "event2/event.h"
#include "event2/event_compat.h"
#include "event2/event_struct.h"
#include "webrtc/base/checks.h"
#include "webrtc/base/logging.h"
#include "webrtc/base/task_queue_posix.h"