Hello together, attached is a small compile fix for nut 2.2.2, again it's my friend "struct timeval" which was undefined without the #include statement.
Cheers, Thomas
diff -u -r nut.orig/clients/upsclient.c nut-2.2.2/clients/upsclient.c --- nut.orig/clients/upsclient.c Tue Apr 22 22:19:18 2008 +++ nut-2.2.2/clients/upsclient.c Wed Jul 2 16:35:45 2008 @@ -32,6 +32,7 @@ #include <arpa/inet.h> #include "upsclient.h" +#include "timehead.h" #define UPSCLIENT_MAGIC 0x19980308
_______________________________________________ Nut-upsdev mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/nut-upsdev
