Module Name:    src
Committed By:   he
Date:           Thu Aug 20 10:19:36 UTC 2009

Modified Files:
        src/lib/libc/gen: nlist_aout.c

Log Message:
Actually, when we really need the a.out defines from <nlist.h>, we
need to include <a.out.h> anyway.  Move it inside #ifdef NLIST_AOUT.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/lib/libc/gen/nlist_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/lib/libc/gen/nlist_aout.c
diff -u src/lib/libc/gen/nlist_aout.c:1.20 src/lib/libc/gen/nlist_aout.c:1.21
--- src/lib/libc/gen/nlist_aout.c:1.20	Thu Aug 20 08:30:04 2009
+++ src/lib/libc/gen/nlist_aout.c	Thu Aug 20 10:19:36 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: nlist_aout.c,v 1.20 2009/08/20 08:30:04 he Exp $ */
+/* $NetBSD: nlist_aout.c,v 1.21 2009/08/20 10:19:36 he Exp $ */
 
 /*
  * Copyright (c) 1989, 1993
@@ -66,7 +66,7 @@
 #if 0
 static char sccsid[] = "@(#)nlist.c	8.1 (Berkeley) 6/4/93";
 #else
-__RCSID("$NetBSD: nlist_aout.c,v 1.20 2009/08/20 08:30:04 he Exp $");
+__RCSID("$NetBSD: nlist_aout.c,v 1.21 2009/08/20 10:19:36 he Exp $");
 #endif
 #endif /* LIBC_SCCS and not lint */
 
@@ -82,11 +82,11 @@
 #include <string.h>
 #include <unistd.h>
 #include <stdlib.h>
-#include <nlist.h>
 
 #include "nlist_private.h"
 
 #ifdef NLIST_AOUT
+#include <a.out.h>
 #include <sys/exec_aout.h>
 
 int

Reply via email to