]> granicus.if.org Git - libevent/commitdiff
Include util-internal.h earlier in test-dumpevents to fix solaris build
authorNick Mathewson <nickm@torproject.org>
Tue, 3 Apr 2012 19:41:12 +0000 (15:41 -0400)
committerNick Mathewson <nickm@torproject.org>
Tue, 3 Apr 2012 19:41:12 +0000 (15:41 -0400)
See 95e2455cdbf840b for rationale.

test/test-dumpevents.c

index 61824c77e89c49ec116a63189123432708821e6c..ff01b3f841d84f1533bb8f745248191d7779c89d 100644 (file)
@@ -23,6 +23,7 @@
  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
+#include "util-internal.h"
 #include "event2/event-config.h"
 
 #ifdef _WIN32
@@ -35,7 +36,6 @@
 #include <stdio.h>
 #include <event2/event.h>
 #include <signal.h>
-#include "util-internal.h"
 
 static void
 sock_perror(const char *s)