Don't include lock.h and pthread_md.h when we're being included by

libthread_db. Both headers are included seperately.
This commit is contained in:
Marcel Moolenaar 2004-07-18 04:22:01 +00:00
parent 3c1e38ea6e
commit 3271031518
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=132333
2 changed files with 4 additions and 0 deletions

View file

@ -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.

View file

@ -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.