summaryrefslogtreecommitdiffstats
path: root/lib/libc_r
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2003-06-01 23:03:49 +0000
committerrwatson <rwatson@FreeBSD.org>2003-06-01 23:03:49 +0000
commit7f7e0909c558b7d7048b54812f02a0979741f7cd (patch)
treee47d826b875a3b7817538004ca0c67addda11e67 /lib/libc_r
parent09e9a903dfe557f92bab66940e04cf126f5f2407 (diff)
downloadFreeBSD-src-7f7e0909c558b7d7048b54812f02a0979741f7cd.zip
FreeBSD-src-7f7e0909c558b7d7048b54812f02a0979741f7cd.tar.gz
Include string.h for memset().
Diffstat (limited to 'lib/libc_r')
-rw-r--r--lib/libc_r/test/Makefile2
-rw-r--r--lib/libc_r/test/guard_b.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc_r/test/Makefile b/lib/libc_r/test/Makefile
index 0eb530c..98edbb2 100644
--- a/lib/libc_r/test/Makefile
+++ b/lib/libc_r/test/Makefile
@@ -26,7 +26,7 @@ CFLAGS := -Wall -pipe -g3
LDFLAGS_A := -static
LDFLAGS_P := -pg
LDFLAGS_S :=
-LIBS := -lc_r
+LIBS := -lthr
# Flags passed to verify. "-v" or "-u" may be useful.
VFLAGS :=
diff --git a/lib/libc_r/test/guard_b.c b/lib/libc_r/test/guard_b.c
index 42bf4ed..3824c07 100644
--- a/lib/libc_r/test/guard_b.c
+++ b/lib/libc_r/test/guard_b.c
@@ -34,6 +34,7 @@
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <errno.h>
#include <limits.h>
#include <pthread.h>
OpenPOWER on IntegriCloud