/****************************************************************************
- * Copyright (c) 1998,2008,2009 Free Software Foundation, Inc. *
+ * Copyright (c) 1998,2009,2010 Free Software Foundation, Inc. *
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
* copy of this software and associated documentation files (the *
/*
Version Control
- $Id: gen.c,v 1.51 2009/12/26 15:45:31 tom Exp $
+ $Id: gen.c,v 1.53 2010/05/01 17:08:30 tom Exp $
--------------------------------------------------------------------------*/
/*
This program generates various record structures and constants from the
to produce the real source.
*/
+#ifdef HAVE_CONFIG_H
#include <ncurses_cfg.h>
+#else
+#include <ncurses.h>
+#define HAVE_USE_DEFAULT_COLORS 1
+#endif
#include <stdlib.h>
#include <stddef.h>
}
printf(" subtype Eti_Error is C_Int range %d .. %d;\n\n",
etimin, etimax);
- printf(buf);
+ printf("%s", buf);
}
break;
default: