(__getopt_argv_const): New macro, to be used so that
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 11 Nov 2004 21:14:57 +0000 (21:14 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 11 Nov 2004 21:14:57 +0000 (21:14 +0000)
commitf58b957becf97e809619293e51c724d68edd05ac
treeae6074c7161ffdd1b078db011628f59ab2dd8277
parent38276efde089b5f69722b4e52422e544a96045b0
(__getopt_argv_const): New macro, to be used so that
we can stop lying to compilers about the constness of argv when we
are compiled outside glibc.
(getopt, getopt_long, getopt_long_only): Use it.

[defined __GETOPT_PREFIX && !defined __need_getopt]:
Include <stdlib.h> and <stdio.h>, too.
lib/getopt_.h