a56: add some #include's to calm compiler
authorThorsten Alteholz <debian@alteholz.de>
Wed, 27 Dec 2017 20:10:51 +0000 (12:10 -0800)
committerJason Self <j@jxself.org>
Wed, 27 Dec 2017 20:10:51 +0000 (12:10 -0800)
This is incorporated from the Debian version of the package.

a56/a56.h
a56/toomf.c [changed mode: 0755->0644]

index 8e38dfe31c5eb13a055a7f834df0b5245e4b2a8f..34150018f3a40d90e6656ffcc55436b6285735e9 100644 (file)
--- a/a56/a56.h
+++ b/a56/a56.h
@@ -9,6 +9,7 @@
 
 /*
  * Copyright (C) 2008 Robert Millan <rmh@aybabtu.com>
+ * Copyright (C) 2012 Thorsten Alteholz <debian@alteholz.de>
  *
  * This file is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published
@@ -45,6 +46,8 @@
  */
 
 #include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
 
 #ifndef TRUE
 #define TRUE 1
old mode 100755 (executable)
new mode 100644 (file)
index 2504b80..f5c28bb
@@ -8,6 +8,25 @@
  *******************************************************\
 
 /*
+ * Copyright (C) 2012 Thorsten Alteholz <debian@alteholz.de>
+ *
+ * This file is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published
+ * by the Free Software Foundation, either version 3 of the License,
+ * or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see
+ * <http://www.gnu.org/licenses/>.
+ *
+ * This file incorporates work covered by the following copyright and
+ * permission notice:
+ *
  * Copyright (C) 1990-1994 Quinn C. Jensen
  *
  * Permission to use, copy, modify, distribute, and sell this software
@@ -21,6 +40,8 @@
  */
 static char *Copyright = "Copyright (C) 1990-1994 Quinn C. Jensen";
 
+#include <stdio.h>
+
 /*
  *  This small program converts the a56.out file from the assembler
  *  into a file suitable for loading into 56001 memory via the