diff options
author | Konstantin Belousov <kostik@pooma.home> | 2010-03-06 16:43:39 +0200 |
---|---|---|
committer | Konstantin Belousov <kostik@pooma.home> | 2010-03-06 16:43:39 +0200 |
commit | 3eabce18b1e70c3b26975024e450977dfb4b84b9 (patch) | |
tree | c32e637002d307b68a605d86746ea4e98f3fd4fd /src/mi | |
parent | 29c110265f50c14b8611a3f14be3941b23952125 (diff) | |
download | libunwind-3eabce18b1e70c3b26975024e450977dfb4b84b9.tar.gz |
Include sys/types.h when needed.
Diffstat (limited to 'src/mi')
-rw-r--r-- | src/mi/Ldestroy_addr_space.c | 8 | ||||
-rw-r--r-- | src/mi/Ldyn-extract.c | 8 | ||||
-rw-r--r-- | src/mi/Lfind_dynamic_proc_info.c | 8 | ||||
-rw-r--r-- | src/mi/Lget_accessors.c | 8 | ||||
-rw-r--r-- | src/mi/Lget_fpreg.c | 8 | ||||
-rw-r--r-- | src/mi/Lget_proc_info_by_ip.c | 8 | ||||
-rw-r--r-- | src/mi/Lget_proc_name.c | 8 | ||||
-rw-r--r-- | src/mi/Lget_reg.c | 8 | ||||
-rw-r--r-- | src/mi/Lput_dynamic_unwind_info.c | 8 | ||||
-rw-r--r-- | src/mi/Lset_caching_policy.c | 8 | ||||
-rw-r--r-- | src/mi/Lset_fpreg.c | 8 | ||||
-rw-r--r-- | src/mi/Lset_reg.c | 8 | ||||
-rw-r--r-- | src/mi/backtrace.c | 10 |
13 files changed, 105 insertions, 1 deletions
diff --git a/src/mi/Ldestroy_addr_space.c b/src/mi/Ldestroy_addr_space.c index 5bf9364b..a1330987 100644 --- a/src/mi/Ldestroy_addr_space.c +++ b/src/mi/Ldestroy_addr_space.c @@ -1,3 +1,11 @@ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#ifdef HAVE_SYS_TYPES_H +# include <sys/types.h> +#endif + #define UNW_LOCAL_ONLY #include <libunwind.h> #if defined(UNW_LOCAL_ONLY) && !defined(UNW_REMOTE_ONLY) diff --git a/src/mi/Ldyn-extract.c b/src/mi/Ldyn-extract.c index 1802f865..e348f831 100644 --- a/src/mi/Ldyn-extract.c +++ b/src/mi/Ldyn-extract.c @@ -1,3 +1,11 @@ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#ifdef HAVE_SYS_TYPES_H +# include <sys/types.h> +#endif + #define UNW_LOCAL_ONLY #include <libunwind.h> #if defined(UNW_LOCAL_ONLY) && !defined(UNW_REMOTE_ONLY) diff --git a/src/mi/Lfind_dynamic_proc_info.c b/src/mi/Lfind_dynamic_proc_info.c index bc88e1c5..081065f7 100644 --- a/src/mi/Lfind_dynamic_proc_info.c +++ b/src/mi/Lfind_dynamic_proc_info.c @@ -1,3 +1,11 @@ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#ifdef HAVE_SYS_TYPES_H +# include <sys/types.h> +#endif + #define UNW_LOCAL_ONLY #include <libunwind.h> #if defined(UNW_LOCAL_ONLY) && !defined(UNW_REMOTE_ONLY) diff --git a/src/mi/Lget_accessors.c b/src/mi/Lget_accessors.c index 555e37f3..72c22b5d 100644 --- a/src/mi/Lget_accessors.c +++ b/src/mi/Lget_accessors.c @@ -1,3 +1,11 @@ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#ifdef HAVE_SYS_TYPES_H +# include <sys/types.h> +#endif + #define UNW_LOCAL_ONLY #include <libunwind.h> #if defined(UNW_LOCAL_ONLY) && !defined(UNW_REMOTE_ONLY) diff --git a/src/mi/Lget_fpreg.c b/src/mi/Lget_fpreg.c index e3be4414..6492a5a2 100644 --- a/src/mi/Lget_fpreg.c +++ b/src/mi/Lget_fpreg.c @@ -1,3 +1,11 @@ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#ifdef HAVE_SYS_TYPES_H +# include <sys/types.h> +#endif + #define UNW_LOCAL_ONLY #include <libunwind.h> #if defined(UNW_LOCAL_ONLY) && !defined(UNW_REMOTE_ONLY) diff --git a/src/mi/Lget_proc_info_by_ip.c b/src/mi/Lget_proc_info_by_ip.c index 96910d83..e5d63c15 100644 --- a/src/mi/Lget_proc_info_by_ip.c +++ b/src/mi/Lget_proc_info_by_ip.c @@ -1,3 +1,11 @@ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#ifdef HAVE_SYS_TYPES_H +# include <sys/types.h> +#endif + #define UNW_LOCAL_ONLY #include <libunwind.h> #if defined(UNW_LOCAL_ONLY) && !defined(UNW_REMOTE_ONLY) diff --git a/src/mi/Lget_proc_name.c b/src/mi/Lget_proc_name.c index 378097b5..0f8c753f 100644 --- a/src/mi/Lget_proc_name.c +++ b/src/mi/Lget_proc_name.c @@ -1,3 +1,11 @@ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#ifdef HAVE_SYS_TYPES_H +# include <sys/types.h> +#endif + #define UNW_LOCAL_ONLY #include <libunwind.h> #if defined(UNW_LOCAL_ONLY) && !defined(UNW_REMOTE_ONLY) diff --git a/src/mi/Lget_reg.c b/src/mi/Lget_reg.c index effe8a80..6ca62007 100644 --- a/src/mi/Lget_reg.c +++ b/src/mi/Lget_reg.c @@ -1,3 +1,11 @@ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#ifdef HAVE_SYS_TYPES_H +# include <sys/types.h> +#endif + #define UNW_LOCAL_ONLY #include <libunwind.h> #if defined(UNW_LOCAL_ONLY) && !defined(UNW_REMOTE_ONLY) diff --git a/src/mi/Lput_dynamic_unwind_info.c b/src/mi/Lput_dynamic_unwind_info.c index 99597cd5..573e8ecc 100644 --- a/src/mi/Lput_dynamic_unwind_info.c +++ b/src/mi/Lput_dynamic_unwind_info.c @@ -1,3 +1,11 @@ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#ifdef HAVE_SYS_TYPES_H +# include <sys/types.h> +#endif + #define UNW_LOCAL_ONLY #include <libunwind.h> #if defined(UNW_LOCAL_ONLY) && !defined(UNW_REMOTE_ONLY) diff --git a/src/mi/Lset_caching_policy.c b/src/mi/Lset_caching_policy.c index cc18816b..0be4cbf1 100644 --- a/src/mi/Lset_caching_policy.c +++ b/src/mi/Lset_caching_policy.c @@ -1,3 +1,11 @@ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#ifdef HAVE_SYS_TYPES_H +# include <sys/types.h> +#endif + #define UNW_LOCAL_ONLY #include <libunwind.h> #if defined(UNW_LOCAL_ONLY) && !defined(UNW_REMOTE_ONLY) diff --git a/src/mi/Lset_fpreg.c b/src/mi/Lset_fpreg.c index 2497d404..a903f239 100644 --- a/src/mi/Lset_fpreg.c +++ b/src/mi/Lset_fpreg.c @@ -1,3 +1,11 @@ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#ifdef HAVE_SYS_TYPES_H +# include <sys/types.h> +#endif + #define UNW_LOCAL_ONLY #include <libunwind.h> #if defined(UNW_LOCAL_ONLY) && !defined(UNW_REMOTE_ONLY) diff --git a/src/mi/Lset_reg.c b/src/mi/Lset_reg.c index c7a872b0..c84d4669 100644 --- a/src/mi/Lset_reg.c +++ b/src/mi/Lset_reg.c @@ -1,3 +1,11 @@ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#ifdef HAVE_SYS_TYPES_H +# include <sys/types.h> +#endif + #define UNW_LOCAL_ONLY #include <libunwind.h> #if defined(UNW_LOCAL_ONLY) && !defined(UNW_REMOTE_ONLY) diff --git a/src/mi/backtrace.c b/src/mi/backtrace.c index 46d6c97f..640675ce 100644 --- a/src/mi/backtrace.c +++ b/src/mi/backtrace.c @@ -24,8 +24,16 @@ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ #ifndef UNW_REMOTE_ONLY - #define UNW_LOCAL_ONLY + +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#ifdef HAVE_SYS_TYPES_H +# include <sys/types.h> +#endif + #include <libunwind.h> /* See glibc manual for a description of this function. */ |