diff --git a/src/syncterm/ripper.c b/src/syncterm/ripper.c
index 3c27a4057579ef9617810c2df59d698490d41165..e908bf9d898ddc67052db551c6e02b4b3157fc6a 100644
--- a/src/syncterm/ripper.c
+++ b/src/syncterm/ripper.c
@@ -1,7 +1,6 @@
 /*
  * The RIPper... interposes on the connection and handles RIP sequences
  */
-#include <arpa/inet.h>
 #include <sys/stat.h>
 
 #include <math.h>
@@ -16,6 +15,8 @@
 #include <dirwrap.h>
 #include <gen_defs.h>
 #include <genwrap.h>
+#include <sockwrap.h>
+#include <strwrap.h>
 #include <unistd.h>
 #include <vidmodes.h>
 #include <xpbeep.h>