aboutsummaryrefslogtreecommitdiff
path: root/src/legacy/isastream.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/legacy/isastream.c')
-rw-r--r--src/legacy/isastream.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/legacy/isastream.c b/src/legacy/isastream.c
index 4dafdb08..e51eb8e3 100644
--- a/src/legacy/isastream.c
+++ b/src/legacy/isastream.c
@@ -5,3 +5,11 @@ int isastream(int fd)
{
return fcntl(fd, F_GETFD) < 0 ? -1 : 0;
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif