about summary refs log tree commit diff
path: root/linuxthreads_db/thread_dbP.h
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads_db/thread_dbP.h')
-rw-r--r--linuxthreads_db/thread_dbP.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/linuxthreads_db/thread_dbP.h b/linuxthreads_db/thread_dbP.h
index 8db5b588dd..1fd09e965b 100644
--- a/linuxthreads_db/thread_dbP.h
+++ b/linuxthreads_db/thread_dbP.h
@@ -2,6 +2,7 @@
 #ifndef _THREAD_DBP_H
 #define _THREAD_DBP_H	1
 
+#include <string.h>
 #include "thread_db.h"
 #include "../linuxthreads/internals.h"
 
@@ -10,8 +11,6 @@
 
 /* Comment out the following for less verbose output.  */
 #define LOG(c) __libc_write (2, c "\n", strlen (c "\n"))
-extern ssize_t __libc_write (int, const void *, size_t);
-
 
 
 /* Handle for a process.  This type is opaque.  */