From 39bf6988a4040725ab1edbf3af976135c611ab6f Mon Sep 17 00:00:00 2001
From: mickey <>
Date: Mon, 21 Oct 2002 20:40:50 +0000
Subject: do not use an absolute path in include; dhartmei@ ok

---
 src/regress/lib/libc/atexit/Makefile      | 3 ++-
 src/regress/lib/libc/atexit/atexit_test.c | 4 ++--
 2 files changed, 4 insertions(+), 3 deletions(-)

(limited to 'src')

diff --git a/src/regress/lib/libc/atexit/Makefile b/src/regress/lib/libc/atexit/Makefile
index 55c3f3981e..8731e9d421 100644
--- a/src/regress/lib/libc/atexit/Makefile
+++ b/src/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/src/regress/lib/libc/atexit/atexit_test.c b/src/regress/lib/libc/atexit/atexit_test.c
index fea95832ab..df316e3372 100644
--- a/src/regress/lib/libc/atexit/atexit_test.c
+++ b/src/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();
-- 
cgit v1.2.3-55-g6feb