diff options
author | kientzle <kientzle@FreeBSD.org> | 2009-03-08 05:24:37 +0000 |
---|---|---|
committer | kientzle <kientzle@FreeBSD.org> | 2009-03-08 05:24:37 +0000 |
commit | 70eb245d1ef15137d9db06deeeba8ed74989d096 (patch) | |
tree | 969817f910fa4498017ab99429a6c4a5783cd564 /usr.bin/tar | |
parent | a6848f2b2f10ee6b71e817b0f08103c4e5eb2886 (diff) | |
download | FreeBSD-src-70eb245d1ef15137d9db06deeeba8ed74989d096.zip FreeBSD-src-70eb245d1ef15137d9db06deeeba8ed74989d096.tar.gz |
Merge r435,r443 from libarchive.googlecode.com: Let the compiler options
determine how to read config.h.
Diffstat (limited to 'usr.bin/tar')
-rw-r--r-- | usr.bin/tar/bsdtar_platform.h | 2 | ||||
-rw-r--r-- | usr.bin/tar/test/test.h | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/tar/bsdtar_platform.h b/usr.bin/tar/bsdtar_platform.h index 7cc684d..53bec95 100644 --- a/usr.bin/tar/bsdtar_platform.h +++ b/usr.bin/tar/bsdtar_platform.h @@ -39,7 +39,7 @@ #include PLATFORM_CONFIG_H #elif defined(HAVE_CONFIG_H) /* Most POSIX platforms use the 'configure' script to build config.h */ -#include "../config.h" +#include "config.h" #else /* Warn if bsdtar hasn't been (automatically or manually) configured. */ #error Oops: No config.h and no built-in configuration in bsdtar_platform.h. diff --git a/usr.bin/tar/test/test.h b/usr.bin/tar/test/test.h index bb7003e..ea801e2 100644 --- a/usr.bin/tar/test/test.h +++ b/usr.bin/tar/test/test.h @@ -33,13 +33,13 @@ */ #if defined(HAVE_CONFIG_H) /* Most POSIX platforms use the 'configure' script to build config.h */ -#include "../../config.h" +#include "config.h" #elif defined(__FreeBSD__) /* Building as part of FreeBSD system requires a pre-built config.h. */ -#include "../config_freebsd.h" +#include "config_freebsd.h" #elif defined(_WIN32) /* Win32 can't run the 'configure' script. */ -#include "../config_windows.h" +#include "config_windows.h" #else /* Warn if the library hasn't been (automatically or manually) configured. */ #error Oops: No config.h and no pre-built configuration in test.h. |