diff options
| author | jmc <jmc@NetBSD.org> | 2004-06-20 22:20:14 +0000 |
|---|---|---|
| committer | jmc <jmc@NetBSD.org> | 2004-06-20 22:20:14 +0000 |
| commit | b2f782612fe8c90c33dbac39f46b984e155e9d35 (patch) | |
| tree | 621fd229ae597b565c516ab4afd72b041cdfa672 /usr.bin/msgc/msgmain.c | |
| parent | fa985b27a7846ade156387f98a002515d72661d9 (diff) | |
Completely rework how tools/compat is done. Purge all uses/references to
_NETBSD_SOURCE as this makes cross building from older/newer versions of
NetBSD harder, not easier (and also makes the resulting tools 'different')
Wrap all required code with the inclusion of nbtool_config.h, attempt to
only use POSIX code in all places (or when reasonable test w. configure and
provide definitions: ala u_int, etc).
Reviewed by lukem. Tested on FreeBSD 4.9, Redhat Linux ES3, NetBSD 1.6.2 x86
NetBSD current (x86 and amd64) and Solaris 9.
Fixes PR's: PR#17762 PR#25944
Diffstat (limited to 'usr.bin/msgc/msgmain.c')
| -rw-r--r-- | usr.bin/msgc/msgmain.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/usr.bin/msgc/msgmain.c b/usr.bin/msgc/msgmain.c index cb8cd1002a0..80b972ba51c 100644 --- a/usr.bin/msgc/msgmain.c +++ b/usr.bin/msgc/msgmain.c @@ -1,4 +1,4 @@ -/* $NetBSD: msgmain.c,v 1.6 2003/07/17 08:33:04 lukem Exp $ */ +/* $NetBSD: msgmain.c,v 1.7 2004/06/20 22:20:16 jmc Exp $ */ /* * Copyright 1997 Piermont Information Systems Inc. @@ -38,10 +38,14 @@ /* main.c - main program */ +#if HAVE_NBTOOL_CONFIG_H +#include "nbtool_config.h" +#endif + #include <sys/cdefs.h> #if defined(__RCSID) && !defined(lint) -__RCSID("$NetBSD: msgmain.c,v 1.6 2003/07/17 08:33:04 lukem Exp $"); +__RCSID("$NetBSD: msgmain.c,v 1.7 2004/06/20 22:20:16 jmc Exp $"); #endif |
