Index: lib/libpthread_dbg/pthread_dbg.h =================================================================== RCS file: /cvsroot/src/lib/libpthread_dbg/pthread_dbg.h,v retrieving revision 1.6 diff -u -p -w -b -r1.6 pthread_dbg.h --- lib/libpthread_dbg/pthread_dbg.h 2 Oct 2011 18:18:14 -0000 1.6 +++ lib/libpthread_dbg/pthread_dbg.h 22 Oct 2016 16:12:37 -0000 @@ -35,9 +35,14 @@ * POSSIBILITY OF SUCH DAMAGE. */ +#ifndef _LIB_PTHREAD_DBG_H +#define _LIB_PTHREAD_DBG_H + #include #include +__BEGIN_DECL + struct td_proc_st; struct td_thread_st; struct td_sync_st; @@ -188,3 +193,7 @@ int td_thr_suspend(td_thread_t *); /* Restore a suspended thread to its previous state */ int td_thr_resume(td_thread_t *); + +__END_DECL + +#endif /* _LIB_PTHREAD_DBG_H */