aboutsummaryrefslogtreecommitdiffstats
path: root/strtotimespec.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--strtotimespec.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/strtotimespec.c b/strtotimespec.c
index 1e6e8d1..bd28260 100644
--- a/strtotimespec.c
+++ b/strtotimespec.c
@@ -1,5 +1,6 @@
/* See LICENSE file for copyright and license details. */
#include "libsimple.h"
+#ifndef TEST
int
@@ -142,3 +143,15 @@ overflow:
errno = ERANGE;
return -1;
}
+
+
+#else
+#include "test.h"
+
+int
+main(void)
+{
+ return 0;
+}
+
+#endif