Skip to content

Commit

Permalink
sh-i18n--envsubst.c: do not #include getopt.h
Browse files Browse the repository at this point in the history
The getopt.h header file is not used.  It's inclusion is left over from the
original version of this source.  Additionally, getopt.h does not exist on
all platforms (SunOS 5.7) and will cause a compilation failure.  So, let's
remove it.

Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Brandon Casey authored and Junio C Hamano committed Jun 17, 2011
1 parent adc3b2b commit 7c1fdd7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion sh-i18n--envsubst.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */

#include <errno.h>
#include <getopt.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
Expand Down

0 comments on commit 7c1fdd7

Please sign in to comment.