summaryrefslogtreecommitdiff
path: root/tcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'tcp.c')
-rw-r--r--tcp.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/tcp.c b/tcp.c
index 29a226a..cddd554 100644
--- a/tcp.c
+++ b/tcp.c
@@ -6,6 +6,7 @@
* copyright notice and this permission notice appear in all copies.
*/
+#ifdef RADPROT_TCP
#include <signal.h>
#include <sys/socket.h>
#include <netinet/in.h>
@@ -368,3 +369,8 @@ void *tcplistener(void *arg) {
free(sp);
return NULL;
}
+#else
+const struct protodefs *tcpinit(uint8_t h) {
+ return NULL;
+}
+#endif