Include util.h and log.h as relative paths.

This shouldn't be necessary, but apparently the Android cross-compiler
doesn't respect -I as well as it should.  (-I is supposed to add to the
*front* of the search path.  Android's gcc wrapper apparently likes to add to
the end.  This is broken, but we need to work around it.)
This commit is contained in:
Nathan Freitas 2009-09-29 00:44:39 -04:00 committed by Nick Mathewson
parent 2e70642c3a
commit 8c585cce39
7 changed files with 11 additions and 8 deletions

View File

@ -50,9 +50,9 @@
#define CRYPTO_PRIVATE
#include "crypto.h"
#include "log.h"
#include "../common/log.h"
#include "aes.h"
#include "util.h"
#include "../common/util.h"
#include "container.h"
#include "compat.h"

View File

@ -12,6 +12,8 @@
**/
#define BUFFERS_PRIVATE
#include "or.h"
#include "../common/util.h"
#include "../common/log.h"
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif

View File

@ -31,6 +31,7 @@
*/
#include "eventdns_tor.h"
#include "../common/util.h"
#include <sys/types.h>
/* #define NDEBUG */

View File

@ -82,7 +82,7 @@
#include "crypto.h"
#include "tortls.h"
#include "log.h"
#include "../common/log.h"
#include "compat.h"
#include "container.h"
#include "util.h"

View File

@ -7,7 +7,7 @@
#include <stdlib.h>
#include "crypto.h"
#include "log.h"
#include "util.h"
#include "../common/util.h"
#include "compat.h"
#include <openssl/bn.h>
#include <openssl/rsa.h>

View File

@ -27,8 +27,8 @@
#define CRYPTO_PRIVATE
#include "compat.h"
#include "util.h"
#include "log.h"
#include "../common/util.h"
#include "../common/log.h"
#include "crypto.h"
#include "address.h"

View File

@ -6,9 +6,9 @@
#include "orconfig.h"
#include "compat.h"
#include "util.h"
#include "../common/util.h"
#include "address.h"
#include "log.h"
#include "../common/log.h"
#include <stdio.h>
#include <stdlib.h>