diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-11-14 17:21:32 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-11-14 17:21:32 +0000 |
commit | 783bbcf471622fccc487267db0377adb04d75461 (patch) | |
tree | ce46433ab967716a60b15a72a9bd4b508d3e7383 /src/common | |
parent | 846f71dccabb7b5385e6498985adde5abad4d4b4 (diff) | |
download | tor-783bbcf471622fccc487267db0377adb04d75461.tar.gz tor-783bbcf471622fccc487267db0377adb04d75461.zip |
Fix "implicit declaration of ftello" warning: add AC_FUNC_FSEEKO in configure.in and always include orconfig.h before anything else
svn:r2854
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/aes.c | 2 | ||||
-rw-r--r-- | src/common/log.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/common/aes.c b/src/common/aes.c index 45e93a9bef..4d0111e6c7 100644 --- a/src/common/aes.c +++ b/src/common/aes.c @@ -8,10 +8,10 @@ * \brief Implementation of a simple AES counter mode. **/ +#include "orconfig.h" #include <assert.h> #include <stdlib.h> #include <string.h> -#include "orconfig.h" #include "aes.h" #include "util.h" diff --git a/src/common/log.c b/src/common/log.c index 49571f64fb..500cfa1c14 100644 --- a/src/common/log.c +++ b/src/common/log.c @@ -8,11 +8,11 @@ * \brief Functions to send messages to log files or the console. */ +#include "orconfig.h" #include <stdarg.h> #include <assert.h> #include <stdlib.h> #include <string.h> -#include "orconfig.h" #include "./util.h" #include "./log.h" |