Added time.h include to get nanosleep to compile

This commit is contained in:
adamdunkels 2007-11-27 20:32:08 +00:00
parent 2ef0eec6f6
commit 90c13c2603

View File

@ -30,7 +30,7 @@
* *
* Author: Adam Dunkels <adam@sics.se> * Author: Adam Dunkels <adam@sics.se>
* *
* $Id: ethernode.c,v 1.10 2007/11/26 23:28:33 adamdunkels Exp $ * $Id: ethernode.c,v 1.11 2007/11/27 20:32:08 adamdunkels Exp $
*/ */
/** /**
* \file * \file
@ -51,6 +51,7 @@
#include "lib/random.h" #include "lib/random.h"
#include <stdio.h> #include <stdio.h>
#include <time.h>
#include <unistd.h> #include <unistd.h>
#define BUF ((uip_tcpip_hdr *)&uip_buf[HDR_LEN]) #define BUF ((uip_tcpip_hdr *)&uip_buf[HDR_LEN])