diff options
author | marcel <marcel@FreeBSD.org> | 2004-07-18 04:22:01 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2004-07-18 04:22:01 +0000 |
commit | 9514d00916dd62394e6861d3d4b72e8a29860b26 (patch) | |
tree | 180999147a5841d5ebcdc80534e9fd140a1f3711 /lib | |
parent | 03a64a6205cacf6f86c1fd453ba860c7c396b285 (diff) | |
download | FreeBSD-src-9514d00916dd62394e6861d3d4b72e8a29860b26.zip FreeBSD-src-9514d00916dd62394e6861d3d4b72e8a29860b26.tar.gz |
Don't include lock.h and pthread_md.h when we're being included by
libthread_db. Both headers are included seperately.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libkse/thread/thr_private.h | 2 | ||||
-rw-r--r-- | lib/libpthread/thread/thr_private.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/lib/libkse/thread/thr_private.h b/lib/libkse/thread/thr_private.h index 689cc43..0b0e366 100644 --- a/lib/libkse/thread/thr_private.h +++ b/lib/libkse/thread/thr_private.h @@ -54,8 +54,10 @@ #include <pthread.h> #include <pthread_np.h> +#ifndef LIBTHREAD_DB #include "lock.h" #include "pthread_md.h" +#endif /* * Evaluate the storage class specifier. diff --git a/lib/libpthread/thread/thr_private.h b/lib/libpthread/thread/thr_private.h index 689cc43..0b0e366 100644 --- a/lib/libpthread/thread/thr_private.h +++ b/lib/libpthread/thread/thr_private.h @@ -54,8 +54,10 @@ #include <pthread.h> #include <pthread_np.h> +#ifndef LIBTHREAD_DB #include "lock.h" #include "pthread_md.h" +#endif /* * Evaluate the storage class specifier. |