diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2002-10-21 20:40:51 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2002-10-21 20:40:51 +0000 |
commit | 09b2affff97dabcda8e01acd100f114f7ea26e24 (patch) | |
tree | 1fd47a38bd79e7ac9a880536b160f30368cbe47b | |
parent | a449bff7c16c7644f738abd76fdbaa1ffe0a2658 (diff) |
do not use an absolute path in include; dhartmei@ ok
-rw-r--r-- | regress/lib/libc/atexit/Makefile | 3 | ||||
-rw-r--r-- | regress/lib/libc/atexit/atexit_test.c | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/regress/lib/libc/atexit/Makefile b/regress/lib/libc/atexit/Makefile index 55c3f3981e6..8731e9d421b 100644 --- a/regress/lib/libc/atexit/Makefile +++ b/regress/lib/libc/atexit/Makefile @@ -1,7 +1,8 @@ -# $OpenBSD: Makefile,v 1.3 2002/09/14 22:03:14 dhartmei Exp $ +# $OpenBSD: Makefile,v 1.4 2002/10/21 20:40:50 mickey Exp $ NOMAN= PROG=atexit_test +CPPFLAGS+=-I${.CURDIR}/../../../../lib/libc run-regress-atexit_test: ${PROG} ./${PROG} -valid 2>${.OBJDIR}/valid.out diff --git a/regress/lib/libc/atexit/atexit_test.c b/regress/lib/libc/atexit/atexit_test.c index fea95832ab5..df316e33723 100644 --- a/regress/lib/libc/atexit/atexit_test.c +++ b/regress/lib/libc/atexit/atexit_test.c @@ -1,4 +1,4 @@ -/* $OpenBSD: atexit_test.c,v 1.2 2002/09/14 22:03:14 dhartmei Exp $ */ +/* $OpenBSD: atexit_test.c,v 1.3 2002/10/21 20:40:50 mickey Exp $ */ /* * Copyright (c) 2002 Daniel Hartmeier @@ -37,7 +37,7 @@ #include <stdio.h> #include <stdlib.h> #include <signal.h> -#include "/usr/src/lib/libc/stdlib/atexit.h" +#include "stdlib/atexit.h" void handle_first(); void handle_middle(); |