]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - ncurses/tinfo/make_keys.c
ncurses 6.2 - patch 20210821
[ncurses.git] / ncurses / tinfo / make_keys.c
index 80bbf63198a5595665618b510e2f3e7d052847c8..b8eb934357a3b0ce390c5b31748edf12ecbbbb0a 100644 (file)
@@ -1,5 +1,5 @@
 /****************************************************************************
- * Copyright 2020 Thomas E. Dickey                                          *
+ * Copyright 2020,2021 Thomas E. Dickey                                     *
  * Copyright 1998-2011,2015 Free Software Foundation, Inc.                  *
  *                                                                          *
  * Permission is hereby granted, free of charge, to any person obtaining a  *
@@ -40,7 +40,7 @@
 #define USE_TERMLIB 1
 #include <build.priv.h>
 
-MODULE_ID("$Id: make_keys.c,v 1.22 2020/02/02 23:34:34 tom Exp $")
+MODULE_ID("$Id: make_keys.c,v 1.23 2021/08/18 20:55:25 tom Exp $")
 
 #include <names.c>
 
@@ -128,11 +128,13 @@ main(int argc, char *argv[])
 {
     static const char *prefix[] =
     {
-       "#ifndef NCU_KEYS_H",
-       "#define NCU_KEYS_H 1",
+       "#ifndef _INIT_KEYTRY_H",
+       "#define _INIT_KEYTRY_H 1",
        "",
        "/* This file was generated by MAKE_KEYS */",
        "",
+       "#include <tic.h>",
+       "",
        "#if BROKEN_LINKER",
        "static",
        "#endif",
@@ -143,7 +145,7 @@ main(int argc, char *argv[])
     {
        "\t{ 0, 0} };",
        "",
-       "#endif /* NCU_KEYS_H */",
+       "#endif /* _INIT_KEYTRY_H */",
        0
     };