diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2009-06-01 09:59:11 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2009-06-01 09:59:11 +0000 |
commit | f48df6ce298672621718d3921d3f357fc68c4433 (patch) | |
tree | 4243f5e2536398011cad342627f377aa220766fd /system.c | |
parent | d80ed6c5c6c521325319de76514a5b610f801cf3 (diff) | |
download | strace-f48df6ce298672621718d3921d3f357fc68c4433.tar.gz strace-f48df6ce298672621718d3921d3f357fc68c4433.tar.bz2 strace-f48df6ce298672621718d3921d3f357fc68c4433.tar.xz |
Clean up header checks
* configure.ac: Reformat AC_CHECK_HEADERS to keep it sorted and
easily updated, and reduce merging errors in the future.
* system.c: Convert all non-standard #ifdef checks for specific
headers to regular #ifdef HAVE_*_H checks.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Diffstat (limited to 'system.c')
-rw-r--r-- | system.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -66,11 +66,11 @@ #include <sys/syscall.h> -#ifdef SYS_capget +#ifdef HAVE_LINUX_CAPABILITY_H #include <linux/capability.h> #endif -#ifdef SYS_cacheflush +#ifdef HAVE_ASM_CACHECTL_H #include <asm/cachectl.h> #endif @@ -78,7 +78,7 @@ #include <linux/utsname.h> #endif -#ifdef MIPS +#ifdef HAVE_ASM_SYSMIPS_H #include <asm/sysmips.h> #endif |