diff options
author | Jim Meyering <jim@meyering.net> | 2003-09-10 08:49:38 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-09-10 08:49:38 +0000 |
commit | 06d7d0633cb4f9732cc24cd29af2047a60c19db4 (patch) | |
tree | 9f35d1e5a613f43e9f0ce13edbec5111cf3a9b61 | |
parent | 153a18589cacae95536fc3d15b0180ef0db633ae (diff) | |
download | coreutils-06d7d0633cb4f9732cc24cd29af2047a60c19db4.tar.xz |
Include long-options.h first, to test interface.
Include <stdlib.h> unconditionally.
-rw-r--r-- | lib/long-options.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/long-options.c b/lib/long-options.c index 43df8594e..58bc93c1d 100644 --- a/lib/long-options.c +++ b/lib/long-options.c @@ -1,5 +1,7 @@ /* Utility to accept --help and --version options as unobtrusively as possible. - Copyright (C) 1993-1994, 1998-1999, 2000, 2002 Free Software Foundation, Inc. + + Copyright (C) 1993, 1994, 1998, 1999, 2000, 2002, 2003 Free + Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -21,13 +23,12 @@ # include <config.h> #endif +#include "long-options.h" + #include <stdio.h> #include <getopt.h> -#if HAVE_STDLIB_H -# include <stdlib.h> -#endif +#include <stdlib.h> -#include "long-options.h" #include "version-etc.h" static struct option const long_options[] = |