Updated command line utilities not to complain about missing getopt() definition
authorSam Hartman <hartmans@mit.edu>
Mon, 19 Sep 2011 00:58:58 +0000 (00:58 +0000)
committerSam Hartman <hartmans@mit.edu>
Mon, 19 Sep 2011 00:58:58 +0000 (00:58 +0000)
Signed-off-by: Sam Hartman <hartmans@debian.org>
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25201 dc483132-0cff-0310-8789-dd5450dbe970

src/clients/kdestroy/Makefile.in
src/clients/kdestroy/kdestroy.c
src/clients/klist/Makefile.in
src/clients/klist/klist.c
src/clients/kvno/Makefile.in
src/clients/kvno/kvno.c

index b3bb0b28120a8ec306cc1483d3b700b3557208da..2c2f8660d8997f25b0ba1a701a14ca5b21984c32 100644 (file)
@@ -2,6 +2,8 @@ mydir=clients$(S)kdestroy
 BUILDTOP=$(REL)..$(S)..
 DEFS=
 
+##WIN32##LOCALINCLUDES=-I$(BUILDTOP)\util\windows\
+
 SRCS=kdestroy.c
 
 PROG_LIBPATH=-L$(TOPLIBD)
index abe49533d43a99dd34f5f810194a43c09920a657..176f6e2e392bfbe553373c8c64382d6c6b291c6e 100644 (file)
@@ -32,6 +32,9 @@
 #ifdef HAVE_UNISTD_H
 #include <unistd.h>
 #endif
+#ifdef _WIN32
+#include <getopt.h>
+#endif
 
 #ifdef __STDC__
 #define BELL_CHAR '\a'
index c2b4d412a37d771779096c1df339fd0ff8393476..5fe76e575573728803f9f8807e3000805bae5f9b 100644 (file)
@@ -5,6 +5,8 @@ DEFS=
 PROG_LIBPATH=-L$(TOPLIBD)
 PROG_RPATH=$(KRB5_LIBDIR)
 
+##WIN32##LOCALINCLUDES=-I$(BUILDTOP)\util\windows\
+
 SRCS = klist.c
 
 ##WIN32##VERSIONRC = $(BUILDTOP)\windows\version.rc
index 4757f381a4bdd84f3af62677209f0e6343a7bb1f..a9a917156f526e32b171de9be16356abbce9e4cd 100644 (file)
@@ -31,6 +31,9 @@
 #ifdef HAVE_UNISTD_H
 #include <unistd.h>
 #endif
+#ifdef _WIN32
+#include <getopt.h>
+#endif
 #include <string.h>
 #include <stdio.h>
 #include <time.h>
index 741c738442992969905ce45fbb09949fb6ac5082..31d36dc1282216e00ddb82dc3907f1a5ff0458cb 100644 (file)
@@ -2,6 +2,8 @@ mydir=clients$(S)kvno
 BUILDTOP=$(REL)..$(S)..
 DEFS=
 
+##WIN32##LOCALINCLUDES=-I$(BUILDTOP)\util\windows\
+
 SRCS=kvno.c
 
 PROG_LIBPATH=-L$(TOPLIBD)
index 74ecf58a8e993d7b5af507448dadf47df8eae6f2..6a58d01f60996e844a9371dcdc2f6136f01095e1 100644 (file)
 #ifdef HAVE_UNISTD_H
 #include <unistd.h>
 #endif
+#ifdef _WIN32
+#include <getopt.h>
+#endif
+
 #include <string.h>
 
 extern int optind;