summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2004-07-18 04:22:01 +0000
committermarcel <marcel@FreeBSD.org>2004-07-18 04:22:01 +0000
commit9514d00916dd62394e6861d3d4b72e8a29860b26 (patch)
tree180999147a5841d5ebcdc80534e9fd140a1f3711 /lib
parent03a64a6205cacf6f86c1fd453ba860c7c396b285 (diff)
downloadFreeBSD-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.h2
-rw-r--r--lib/libpthread/thread/thr_private.h2
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.
OpenPOWER on IntegriCloud