aboutsummaryrefslogtreecommitdiff
path: root/libgcc/config/gthr-vxworks-thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgcc/config/gthr-vxworks-thread.c')
-rw-r--r--libgcc/config/gthr-vxworks-thread.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libgcc/config/gthr-vxworks-thread.c b/libgcc/config/gthr-vxworks-thread.c
index 17c60fa..31f291a 100644
--- a/libgcc/config/gthr-vxworks-thread.c
+++ b/libgcc/config/gthr-vxworks-thread.c
@@ -33,6 +33,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#include <taskLib.h>
#include <stdlib.h>
+#include <string.h>
#define __TIMESPEC_TO_NSEC(timespec) \
((long long)timespec.tv_sec * 1000000000 + (long long)timespec.tv_nsec)