X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fcsharpcomp.c;h=eb1574d9699434e8ed83dd2f2a8bf01107ae59ec;hb=20229ba96d971f97ff03ab74eeb4e7de1acccf98;hp=cbc6520fbb96dc3f42ee25b48c1f663903904821;hpb=b7b797042fa5f79590c77cad90fb073dccd960b2;p=gnulib.git diff --git a/lib/csharpcomp.c b/lib/csharpcomp.c index cbc6520fb..eb1574d96 100644 --- a/lib/csharpcomp.c +++ b/lib/csharpcomp.c @@ -16,9 +16,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -#ifdef HAVE_CONFIG_H -# include -#endif +#include #include /* Specification. */ @@ -402,7 +400,8 @@ compile_csharp_using_sscli (const char * const *sources, argp = argv; *argp++ = "csc"; - *argp++ = (output_is_library ? "-target:library" : "-target:exe"); + *argp++ = + (char *) (output_is_library ? "-target:library" : "-target:exe"); { char *option = (char *) xallocsa (5 + strlen (output_file) + 1); memcpy (option, "-out:", 5);