From f64410dbb791e5380b326077d877494140ecb2da Mon Sep 17 00:00:00 2001 From: "cantab.net!aia21" Date: Sun, 29 Feb 2004 14:09:45 +0000 Subject: [PATCH] Guard config.h inclusiong with ifdef HAVE_CONFIG_H (Logical change 1.288) --- include/ntfs/compat.h | 2 ++ include/ntfs/debug.h | 4 +++- include/ntfs/device.h | 2 ++ include/ntfs/device_io.h | 2 ++ include/ntfs/endians.h | 2 ++ include/ntfs/gnome-vfs-method.h | 2 ++ include/ntfs/gnome-vfs-module.h | 2 ++ include/ntfs/support.h | 2 ++ include/ntfs/types.h | 4 +++- include/ntfs/volume.h | 4 +++- 10 files changed, 23 insertions(+), 3 deletions(-) diff --git a/include/ntfs/compat.h b/include/ntfs/compat.h index 866f6ae7..156cc515 100644 --- a/include/ntfs/compat.h +++ b/include/ntfs/compat.h @@ -23,7 +23,9 @@ #ifndef _NTFS_COMPAT_H #define _NTFS_COMPAT_H +#ifdef HAVE_CONFIG_H #include "config.h" +#endif #ifdef WINDOWS diff --git a/include/ntfs/debug.h b/include/ntfs/debug.h index df6b6886..1f96e621 100644 --- a/include/ntfs/debug.h +++ b/include/ntfs/debug.h @@ -1,7 +1,7 @@ /* * debug.h - Debugging output functions. Part of the Linux-NTFS project. * - * Copyright (c) 2002 Anton Altaparmakov + * Copyright (c) 2002-2004 Anton Altaparmakov * * This program/include file is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as published @@ -22,7 +22,9 @@ #ifndef _NTFS_DEBUG_H #define _NTFS_DEBUG_H +#ifdef HAVE_CONFIG_H #include "config.h" +#endif #ifdef HAVE_STDIO_H # include diff --git a/include/ntfs/device.h b/include/ntfs/device.h index c9490cd9..b6d0aace 100644 --- a/include/ntfs/device.h +++ b/include/ntfs/device.h @@ -22,7 +22,9 @@ #ifndef _NTFS_DEVICE_H #define _NTFS_DEVICE_H +#ifdef HAVE_CONFIG_H #include "config.h" +#endif #include diff --git a/include/ntfs/device_io.h b/include/ntfs/device_io.h index 7213631e..b6f0d810 100644 --- a/include/ntfs/device_io.h +++ b/include/ntfs/device_io.h @@ -22,7 +22,9 @@ #ifndef _NTFS_DEVICE_IO_H #define _NTFS_DEVICE_IO_H +#ifdef HAVE_CONFIG_H #include "config.h" +#endif #ifndef NO_NTFS_DEVICE_DEFAULT_IO_OPS diff --git a/include/ntfs/endians.h b/include/ntfs/endians.h index 75f464d1..ba23a0f6 100644 --- a/include/ntfs/endians.h +++ b/include/ntfs/endians.h @@ -23,7 +23,9 @@ #ifndef _NTFS_ENDIANS_H #define _NTFS_ENDIANS_H +#ifdef HAVE_CONFIG_H #include "config.h" +#endif /* * Notes: diff --git a/include/ntfs/gnome-vfs-method.h b/include/ntfs/gnome-vfs-method.h index ca7cb87a..c8069ab6 100644 --- a/include/ntfs/gnome-vfs-method.h +++ b/include/ntfs/gnome-vfs-method.h @@ -24,7 +24,9 @@ #ifndef _NTFS_GNOME_VFS_METHOD_H #define _NTFS_GNOME_VFS_METHOD_H +#ifdef HAVE_CONFIG_H #include "config.h" +#endif #include diff --git a/include/ntfs/gnome-vfs-module.h b/include/ntfs/gnome-vfs-module.h index 7de4665c..7dddd5cc 100644 --- a/include/ntfs/gnome-vfs-module.h +++ b/include/ntfs/gnome-vfs-module.h @@ -24,7 +24,9 @@ #ifndef _NTFS_GNOME_VFS_MODULE_H #define _NTFS_GNOME_VFS_MODULE_H +#ifdef HAVE_CONFIG_H #include "config.h" +#endif G_BEGIN_DECLS diff --git a/include/ntfs/support.h b/include/ntfs/support.h index 3ddbb136..72f797b5 100644 --- a/include/ntfs/support.h +++ b/include/ntfs/support.h @@ -22,7 +22,9 @@ #ifndef _NTFS_SUPPORT_H #define _NTFS_SUPPORT_H +#ifdef HAVE_CONFIG_H #include "config.h" +#endif #include diff --git a/include/ntfs/types.h b/include/ntfs/types.h index 5f6ae2c9..d1f335a5 100644 --- a/include/ntfs/types.h +++ b/include/ntfs/types.h @@ -2,7 +2,7 @@ * types.h - Misc type definitions not related to on-disk structure. Part of * the Linux-NTFS project. * - * Copyright (c) 2000-2003 Anton Altaparmakov + * Copyright (c) 2000-2004 Anton Altaparmakov * * This program/include file is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as published @@ -23,7 +23,9 @@ #ifndef _NTFS_TYPES_H #define _NTFS_TYPES_H +#ifdef HAVE_CONFIG_H #include "config.h" +#endif #ifdef HAVE_STDINT_H #include diff --git a/include/ntfs/volume.h b/include/ntfs/volume.h index 911a6e52..feeabdab 100644 --- a/include/ntfs/volume.h +++ b/include/ntfs/volume.h @@ -1,7 +1,7 @@ /* * volume.h - Exports for NTFS volume handling. Part of the Linux-NTFS project. * - * Copyright (c) 2000-2003 Anton Altaparmakov + * Copyright (c) 2000-2004 Anton Altaparmakov * * This program/include file is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as published @@ -22,7 +22,9 @@ #ifndef _NTFS_VOLUME_H #define _NTFS_VOLUME_H +#ifdef HAVE_CONFIG_H #include "config.h" +#endif #include #ifdef HAVE_SYS_PARAM_H