Missing <config.h> include in some tests

Albert Chin gcrypt-devel at mlists.thewrittenword.com
Sat Jan 22 21:09:27 CET 2005


Missing #include <config.h> from some tests.

-- 
albert chin (china at thewrittenword.com)

-- snip snip
--- tests/prime.c.orig	2005-01-20 23:29:55.000000000 -0600
+++ tests/prime.c	2005-01-20 23:30:09.000000000 -0600
@@ -16,6 +16,9 @@
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
    USA.  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 #include <assert.h>
 #include <stdio.h>
 #include <string.h>
--- tests/register.c.orig	2005-01-20 23:34:30.000000000 -0600
+++ tests/register.c	2005-01-20 23:34:41.000000000 -0600
@@ -18,6 +18,9 @@
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 #include <stdarg.h>
 #include <stdio.h>
 #include <stdlib.h>
--- tests/ac.c.orig	2005-01-20 23:37:26.000000000 -0600
+++ tests/ac.c	2005-01-20 23:37:37.000000000 -0600
@@ -18,6 +18,9 @@
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 #include <stdarg.h>
 #include <stdio.h>
 #include <stdlib.h>
--- tests/basic.c.orig	2005-01-20 23:42:39.000000000 -0600
+++ tests/basic.c	2005-01-20 23:42:50.000000000 -0600
@@ -18,6 +18,9 @@
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
--- tests/tsexp.c.orig	2005-01-20 23:45:41.000000000 -0600
+++ tests/tsexp.c	2005-01-20 23:45:57.000000000 -0600
@@ -18,6 +18,9 @@
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
--- tests/keygen.c.orig	2005-01-20 23:46:35.000000000 -0600
+++ tests/keygen.c	2005-01-20 23:46:48.000000000 -0600
@@ -18,6 +18,9 @@
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
--- tests/pubkey.c.orig	2005-01-20 23:47:20.000000000 -0600
+++ tests/pubkey.c	2005-01-20 23:47:30.000000000 -0600
@@ -18,6 +18,9 @@
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 #include <stdarg.h>
 #include <stdio.h>
 #include <stdlib.h>



More information about the Gcrypt-devel mailing list