summaryrefslogtreecommitdiff
path: root/lib/libc_r
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2003-06-01 23:03:49 +0000
committerRobert Watson <rwatson@FreeBSD.org>2003-06-01 23:03:49 +0000
commit0bbe770d6f71917cffe25124736b7d4f1e6db144 (patch)
treee47d826b875a3b7817538004ca0c67addda11e67 /lib/libc_r
parentf1a529f3da97dddae7572c8d31d7e912422f1657 (diff)
downloadsrc-test2-0bbe770d6f71917cffe25124736b7d4f1e6db144.tar.gz
src-test2-0bbe770d6f71917cffe25124736b7d4f1e6db144.zip
Notes
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 0eb530c3ef14..98edbb2c09d6 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 42bf4edd3bbb..3824c07e139b 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>