changeset 21804:fb73a6ed8197

A couple compile fixes to the tests from Elliott Sales de Andrade. Fixes #4313.
author Daniel Atallah <daniel.atallah@gmail.com>
date Mon, 10 Dec 2007 02:19:56 +0000
parents ffbd2e3e10e4
children 1ba8e97ca24c 41959f031322
files libpurple/tests/check_libpurple.c libpurple/tests/tests.h
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/tests/check_libpurple.c	Mon Dec 10 02:07:01 2007 +0000
+++ b/libpurple/tests/check_libpurple.c	Mon Dec 10 02:19:56 2007 +0000
@@ -1,11 +1,12 @@
 #include <glib.h>
 #include <stdlib.h>
 
+#include "tests.h"
+
 #include "../core.h"
 #include "../eventloop.h"
 #include "../util.h"
 
-#include "tests.h"
 
 /******************************************************************************
  * libpurple goodies
--- a/libpurple/tests/tests.h	Mon Dec 10 02:07:01 2007 +0000
+++ b/libpurple/tests/tests.h	Mon Dec 10 02:19:56 2007 +0000
@@ -1,7 +1,8 @@
 #ifndef TESTS_H
 #  define TESTS_H
 
-#include <glib.h>
+#include "../purple.h"
+
 #include <check.h>
 
 /* define the test suites here */