Revision 1605 branches/colonetmk2/code/projects/libwireless/lib/wireless.c
| wireless.c (revision 1605) | ||
|---|---|---|
| 46 | 46 |
#ifndef ROBOT |
| 47 | 47 |
#include <sys/time.h> |
| 48 | 48 |
#include <signal.h> |
| 49 |
#include <stdlib.h> |
|
| 49 | 50 |
#else |
| 50 | 51 |
#include <time.h> |
| 51 | 52 |
#include <bom.h> |
| ... | ... | |
| 141 | 142 |
if(setitimer(ITIMER_REAL,&timer_val,NULL)==-1) |
| 142 | 143 |
{
|
| 143 | 144 |
WL_DEBUG_PRINT("Error creating a timer.\r\n");
|
| 144 |
perror("Failure's cause");
|
|
| 145 | 145 |
exit(1); |
| 146 | 146 |
} |
| 147 | 147 |
|
Also available in: Unified diff