]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Include long-options.h first, to test interface.
authorJim Meyering <jim@meyering.net>
Wed, 10 Sep 2003 08:49:38 +0000 (08:49 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 10 Sep 2003 08:49:38 +0000 (08:49 +0000)
Include <stdlib.h> unconditionally.

lib/long-options.c

index 43df8594e3a95cd538d062919aa0c34f477ba669..58bc93c1d18a992d5f0c3044b7178ffc303aec2a 100644 (file)
@@ -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
 # 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[] =