Module Name: src Committed By: he Date: Thu Aug 20 17:40:26 UTC 2009
Modified Files: src/usr.bin/crunch/crunchide: exec_aout.c Log Message: Move the include of <a.out.h> and <sys/exec_aout.h> until after we have determined that the current machine actually supports a.out. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/usr.bin/crunch/crunchide/exec_aout.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.bin/crunch/crunchide/exec_aout.c diff -u src/usr.bin/crunch/crunchide/exec_aout.c:1.11 src/usr.bin/crunch/crunchide/exec_aout.c:1.12 --- src/usr.bin/crunch/crunchide/exec_aout.c:1.11 Sun Aug 16 18:15:28 2009 +++ src/usr.bin/crunch/crunchide/exec_aout.c Thu Aug 20 17:40:26 2009 @@ -1,4 +1,4 @@ -/* $NetBSD: exec_aout.c,v 1.11 2009/08/16 18:15:28 martin Exp $ */ +/* $NetBSD: exec_aout.c,v 1.12 2009/08/20 17:40:26 he Exp $ */ /* * Copyright (c) 1997 Christopher G. Demetriou. All rights reserved. @@ -29,7 +29,7 @@ #include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: exec_aout.c,v 1.11 2009/08/16 18:15:28 martin Exp $"); +__RCSID("$NetBSD: exec_aout.c,v 1.12 2009/08/20 17:40:26 he Exp $"); #endif #include <unistd.h> @@ -37,15 +37,16 @@ #include <stdlib.h> #include <string.h> #include <errno.h> -#include <a.out.h> #include <sys/types.h> #include <sys/stat.h> -#include <sys/exec_aout.h> #include "extern.h" #if defined(NLIST_AOUT) +#include <a.out.h> +#include <sys/exec_aout.h> + int nsyms, ntextrel, ndatarel; struct exec *hdrp; char *aoutdata, *strbase;