diff --git a/libthread_db/include/sys/procfs.h b/libthread_db/include/sys/procfs.h new file mode 100644 index 000000000..0ae7a0bd9 --- /dev/null +++ b/libthread_db/include/sys/procfs.h @@ -0,0 +1,22 @@ +/* + * Copyright 2006 The Android Open Source Project + */ + +#ifndef _SYS_PROCFS_H +#define _SYS_PROCFS_H + +#include + + +#ifdef __cplusplus +extern "C"{ +#endif + +typedef pid_t lwpid_t; +typedef void *psaddr_t; + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/libthread_db/include/thread_db.h b/libthread_db/include/thread_db.h index 1b36cb2b4..6ff968f41 100644 --- a/libthread_db/include/thread_db.h +++ b/libthread_db/include/thread_db.h @@ -9,9 +9,7 @@ #include #include #include - -typedef void *psaddr_t; -typedef pid_t lwpid_t; +#include #define TD_THR_ANY_USER_FLAGS 0xffffffff #define TD_THR_LOWEST_PRIORITY -20