aboutsummaryrefslogtreecommitdiffstats
path: root/recvfrom_timestamped.c
diff options
context:
space:
mode:
Diffstat (limited to 'recvfrom_timestamped.c')
-rw-r--r--recvfrom_timestamped.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/recvfrom_timestamped.c b/recvfrom_timestamped.c
index f5f8e53..49e8e3f 100644
--- a/recvfrom_timestamped.c
+++ b/recvfrom_timestamped.c
@@ -1,5 +1,6 @@
/* See LICENSE file for copyright and license details. */
#include "libsimple.h"
+#ifndef TEST
ssize_t
@@ -55,3 +56,15 @@ libsimple_recvfrom_timestamped(int fd, void *restrict buf, size_t n, int flags,
return r;
}
+
+
+#else
+#include "test.h"
+
+int
+main(void)
+{
+ return 0;
+}
+
+#endif