diff options
author | Dan McGee <dan@archlinux.org> | 2007-03-05 23:13:33 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-03-05 23:13:33 +0100 |
commit | 869e81e1cf115e835040d0ecadb6108880103abe (patch) | |
tree | 2c67f7f304e27cfab2b9d7b1fd48f8b15a914dd4 /src/util | |
parent | facb99098d8d28f7bd3ac1aeb02ab0e158f9cff2 (diff) | |
download | pacman-869e81e1cf115e835040d0ecadb6108880103abe.tar.gz pacman-869e81e1cf115e835040d0ecadb6108880103abe.tar.xz |
This commit looks much more monumental than it is. Almost all just #include
reordering and adding ones that were forgotten (noticed when trying to
compile after reordering).
* Updated the HACKING file to include information on #include usage.
* print -> vprint in "making dir" function in pactest.
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/testpkg.c | 2 | ||||
-rw-r--r-- | src/util/vercmp.c | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/util/testpkg.c b/src/util/testpkg.c index fdee6708..a64e6b34 100644 --- a/src/util/testpkg.c +++ b/src/util/testpkg.c @@ -19,6 +19,8 @@ * USA. */ +#include "config.h" + #include <stdio.h> #include <stdlib.h> #include <string.h> diff --git a/src/util/vercmp.c b/src/util/vercmp.c index 75972532..cc951988 100644 --- a/src/util/vercmp.c +++ b/src/util/vercmp.c @@ -19,14 +19,18 @@ * USA. */ +#include "config.h" + #include <stdio.h> #include <string.h> #include <errno.h> #include <unistd.h> #include <limits.h> +/* TODO this is probably not the best way to do this */ #ifndef PATH_MAX #define PATH_MAX 1024 #endif + #include <alpm.h> int main(int argc, char *argv[]) |