guile-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Guile-commits] 72/86: Fix missing includes in tests.


From: Andy Wingo
Subject: [Guile-commits] 72/86: Fix missing includes in tests.
Date: Wed, 20 Jun 2018 14:09:43 -0400 (EDT)

wingo pushed a commit to branch master
in repository guile.

commit 55317a5dd31aaceee4ddf2f6ec1b15b14e32e2e8
Author: Andy Wingo <address@hidden>
Date:   Wed Jun 20 15:01:14 2018 +0200

    Fix missing includes in tests.
    
    * test-suite/standalone/test-scm-c-read.c:
    * test-suite/standalone/test-scm-to-latin1-string.c: Add <string.h>.
---
 test-suite/standalone/test-scm-c-read.c           | 5 +++--
 test-suite/standalone/test-scm-to-latin1-string.c | 6 ++++--
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/test-suite/standalone/test-scm-c-read.c 
b/test-suite/standalone/test-scm-c-read.c
index c4dbf62..7ba6533 100644
--- a/test-suite/standalone/test-scm-c-read.c
+++ b/test-suite/standalone/test-scm-c-read.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2008, 2014 Free Software Foundation, Inc.
+/* Copyright (C) 2008,2014,2018 Free Software Foundation, Inc.
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public License
@@ -25,8 +25,9 @@
 
 #undef NDEBUG
 
-#include <libguile.h>
 #include <assert.h>
+#include <string.h>
+#include <libguile.h>
 
 
 
diff --git a/test-suite/standalone/test-scm-to-latin1-string.c 
b/test-suite/standalone/test-scm-to-latin1-string.c
index b8f0120..0b0a128 100644
--- a/test-suite/standalone/test-scm-to-latin1-string.c
+++ b/test-suite/standalone/test-scm-to-latin1-string.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2011 Free Software Foundation, Inc.
+/* Copyright (C) 2011,2018 Free Software Foundation, Inc.
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public License
@@ -21,8 +21,10 @@
 # include <config.h>
 #endif
 
-#include <libguile.h>
 #include <stdlib.h>
+#include <string.h>
+
+#include <libguile.h>
 
 /*
   This outputs:



reply via email to

[Prev in Thread] Current Thread [Next in Thread]