From: Hilko Bengen <bengen@debian.org>
Date: Mon, 25 Apr 2016 20:56:46 +0200
Subject: Add missing files

---
 tests/smraw_test_libcsystem.h  | 54 +++++++++++++++++++++++++++++++++++++
 tests/smraw_test_libcthreads.h | 60 ++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 114 insertions(+)
 create mode 100644 tests/smraw_test_libcsystem.h
 create mode 100644 tests/smraw_test_libcthreads.h

diff --git a/tests/smraw_test_libcsystem.h b/tests/smraw_test_libcsystem.h
new file mode 100644
index 0000000..03274b8
--- /dev/null
+++ b/tests/smraw_test_libcsystem.h
@@ -0,0 +1,54 @@
+/*
+ * Library for system independent implementation of functionality
+ * for programs
+ *
+ * Copyright (C) 2010-2016, Joachim Metz <joachim.metz@gmail.com>
+ *
+ * Refer to AUTHORS for acknowledgements.
+ *
+ * This software is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This software 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 Lesser General Public License
+ * along with this software.  If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#if !defined( _SMRAW_TEST_LIBCSYSTEM_H )
+#define _SMRAW_TEST_LIBCSYSTEM_H
+
+/* Define HAVE_LOCAL_LIBCSYSTEM for local use of libcsystem
+ */
+#if defined( HAVE_LOCAL_LIBCSYSTEM )
+
+#include <libcsystem_definitions.h>
+#include <libcsystem_file_io.h>
+#include <libcsystem_getopt.h>
+#include <libcsystem_glob.h>
+#include <libcsystem_i18n.h>
+#include <libcsystem_signal.h>
+#include <libcsystem_string.h>
+#include <libcsystem_support.h>
+#include <libcsystem_unused.h>
+
+#else
+
+/* If libtool DLL support is enabled set LIBCSYSTEM_DLL_IMPORT
+ * before including libcsystem.h
+ */
+#if defined( _WIN32 ) && defined( DLL_IMPORT )
+#define LIBCSYSTEM_DLL_IMPORT
+#endif
+
+#include <libcsystem.h>
+
+#endif /* defined( HAVE_LOCAL_LIBCSYSTEM ) */
+
+#endif /* !defined( _SMRAW_TEST_LIBCSYSTEM_H ) */
+
diff --git a/tests/smraw_test_libcthreads.h b/tests/smraw_test_libcthreads.h
new file mode 100644
index 0000000..ca825c9
--- /dev/null
+++ b/tests/smraw_test_libcthreads.h
@@ -0,0 +1,60 @@
+/*
+ * The internal libcthreads header
+ *
+ * Copyright (C) 2010-2016, Joachim Metz <joachim.metz@gmail.com>
+ *
+ * Refer to AUTHORS for acknowledgements.
+ *
+ * This software is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This software 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 Lesser General Public License
+ * along with this software.  If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#if !defined( _SMRAW_TEST_LIBCTHREADS_H )
+#define _SMRAW_TEST_LIBCTHREADS_H
+
+#include <common.h>
+
+#if defined( HAVE_MULTI_THREAD_SUPPORT ) && !defined( HAVE_LOCAL_LIBSMRAW )
+
+/* Define HAVE_LOCAL_LIBCTHREADS for local use of libcthreads
+ */
+#if defined( HAVE_LOCAL_LIBCTHREADS )
+
+#include <libcthreads_condition.h>
+#include <libcthreads_definitions.h>
+#include <libcthreads_lock.h>
+#include <libcthreads_mutex.h>
+#include <libcthreads_read_write_lock.h>
+#include <libcthreads_queue.h>
+#include <libcthreads_thread.h>
+#include <libcthreads_thread_attributes.h>
+#include <libcthreads_thread_pool.h>
+#include <libcthreads_types.h>
+
+#else
+
+/* If libtool DLL support is enabled set LIBCTHREADS_DLL_IMPORT
+ * before including libcthreads.h
+ */
+#if defined( _WIN32 ) && defined( DLL_IMPORT )
+#define LIBCTHREADS_DLL_IMPORT
+#endif
+
+#include <libcthreads.h>
+
+#endif
+
+#endif /* defined( HAVE_MULTI_THREAD_SUPPORT ) && !defined( HAVE_LOCAL_LIBSMRAW ) */
+
+#endif
+
