getopt: fix compilation on darwin
authorEric Blake <ebb9@byu.net>
Wed, 7 Oct 2009 02:44:13 +0000 (20:44 -0600)
committerEric Blake <ebb9@byu.net>
Wed, 7 Oct 2009 03:25:42 +0000 (21:25 -0600)
commit09e22b5a16b5cd926d75dd9e052b6b2188981df5
tree6f72e1f9fd4866346a11871b87885cc3f6345d40
parent3d4be5be45da057a5a7391f711e6faf4f7136ffb
getopt: fix compilation on darwin

* lib/getopt.in.h (includes): Leave breadcrumbs during system
include.
* lib/unistd.in.h (getopt): Use them to avoid recursive include.
Reported by Ludovic Courtès.

Signed-off-by: Eric Blake <ebb9@byu.net>
ChangeLog
lib/getopt.in.h
lib/unistd.in.h