commit | cdbf48321e4736fab2953337ed3b4950f26d5ee4 | [log] [tgz] |
---|---|---|
author | Christopher Wiley <wiley@google.com> | Wed Jul 22 17:03:44 2015 -0700 |
committer | Christopher Wiley <wiley@google.com> | Fri Jul 24 09:22:46 2015 -0700 |
tree | a57c38273a55a541855bb84d4ebc111c54d89ff8 | |
parent | a99fbc04c8ef4c347366dc91e65cb372a551b83b [diff] |
Define missing TAILQ functions if any TAILQ function is provided On both Android and some build hosts, TAILQ_END is not defined. It doesn't seem to be a standard BSD function at all, yet libevent depends on this. Rather than only patch up missing TAILQ_ functions when TAILQ_FOREACH is missing, always patch them up if we have sys/queue.h at all. Bug: 22608897 Change-Id: I367572dbce5a6425648eed934cfec7a3060b09cb