diff options
| author | Alexander Kabaev <kan@FreeBSD.org> | 2003-07-13 02:41:48 +0000 |
|---|---|---|
| committer | Alexander Kabaev <kan@FreeBSD.org> | 2003-07-13 02:41:48 +0000 |
| commit | 0810229e75cb81c2648d1e589f701d5aca4304bc (patch) | |
| tree | 69ad1d6eb3d28e8c177abe30c906a9a497d8d0bc /gnu | |
| parent | 1cb7d2af50569fe83f327ebea7d506dc0cbce975 (diff) | |
Notes
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/lib/csu/Makefile | 1 | ||||
| -rw-r--r-- | gnu/usr.bin/cc/cc_tools/auto-host.h | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/gnu/lib/csu/Makefile b/gnu/lib/csu/Makefile index 6d977b4537260..bb3007a993f8e 100644 --- a/gnu/lib/csu/Makefile +++ b/gnu/lib/csu/Makefile @@ -23,6 +23,7 @@ MKDEPCMD= CC="${CC}" MKDEP_CPP_OPTS="-M -DCRT_BEGIN" mkdep BEGINSRC= crtbegin.asm ENDSRC= crtend.asm CFLAGS+= -x assembler-with-cpp # Ugly hack +CFLAGS+= -include osreldate.h .undef SRCS # hack for 'make depend' .endif .if ${MACHINE_ARCH} == "powerpc" diff --git a/gnu/usr.bin/cc/cc_tools/auto-host.h b/gnu/usr.bin/cc/cc_tools/auto-host.h index b40593cc984cd..175d72a64f453 100644 --- a/gnu/usr.bin/cc/cc_tools/auto-host.h +++ b/gnu/usr.bin/cc/cc_tools/auto-host.h @@ -1,6 +1,8 @@ /* $FreeBSD$ */ -#include <osreldate.h> +#ifndef __FreeBSD_version +#include <sys/param.h> +#endif /* auto-host.h. Generated automatically by configure. */ /* config.in. Generated automatically from configure.in by autoheader. */ |
