summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Casey <drafnel@gmail.com>2011-06-17 18:19:26 (GMT)
committerJunio C Hamano <gitster@pobox.com>2011-06-17 18:30:14 (GMT)
commit7c1fdd7019ea03438744849b9532cf768ba1247c (patch)
tree533856a1d74989c41b935d98b0a29e9e3e736a96
parentadc3b2b27670f123bd7dd742ba0fa0e0a60e1b19 (diff)
downloadgit-7c1fdd7019ea03438744849b9532cf768ba1247c.zip
git-7c1fdd7019ea03438744849b9532cf768ba1247c.tar.gz
git-7c1fdd7019ea03438744849b9532cf768ba1247c.tar.bz2
sh-i18n--envsubst.c: do not #include getopt.h
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>
-rw-r--r--sh-i18n--envsubst.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sh-i18n--envsubst.c b/sh-i18n--envsubst.c
index 7125093..1153f8c 100644
--- a/sh-i18n--envsubst.c
+++ b/sh-i18n--envsubst.c
@@ -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>