--- tools/irsend.c.orig +++ tools/irsend.c @@ -40,6 +40,9 @@ #include #include #include +#ifdef __FreeBSD__ +#include +#endif #define PACKET_SIZE 256 /* three seconds */