Mercurial > ~darius > hgwebdir.cgi > wh1080
changeset 2:9da35e705144
Add includes so that it builds without warnings.
author | Daniel O'Connor <darius@dons.net.au> |
---|---|
date | Tue, 09 Feb 2010 13:48:52 +1030 |
parents | 01496de9f722 |
children | dc5ff2a1ed81 |
files | db.c local-compare.c wh1080.c xreport.c yreport.c |
diffstat | 5 files changed, 9 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/db.c Tue Feb 09 13:48:22 2010 +1030 +++ b/db.c Tue Feb 09 13:48:52 2010 +1030 @@ -7,6 +7,8 @@ * $Id: db.c,v 1.5 2010/02/04 03:50:35 grog Exp $ */ +#include <stdlib.h> + #include "wh1080.h" #define STAMPSIZE 32 /* size of time stamp to print out */
--- a/local-compare.c Tue Feb 09 13:48:22 2010 +1030 +++ b/local-compare.c Tue Feb 09 13:48:52 2010 +1030 @@ -16,6 +16,7 @@ #include "wh1080.h" #include <syslog.h> +#include <stdlib.h> #define STAMPSIZE 32 /* size of time stamp to print out */
--- a/wh1080.c Tue Feb 09 13:48:22 2010 +1030 +++ b/wh1080.c Tue Feb 09 13:48:52 2010 +1030 @@ -7,6 +7,8 @@ * $Id: wh1080.c,v 1.18 2010/02/07 03:40:37 grog Exp $ */ +#include <stdlib.h> + #include "wh1080.h" struct usb_device *station_device; usb_dev_handle *station;