View Single Post
Old 10-13-2004, 07:37 AM   #2 (permalink)
redhead
Newbie
 
redhead's Avatar
 
Join Date: Jun 2002
Location: Denmark
Posts: 1,736
redhead is on a distinguished road
try changing
#include <sys/time.h>
to
#include <time.h>

sys/time.h under *nix dosn't have anything called localtime() or time() it only has time-structures defined.

And I took teh liberty to reformat your code with adding [code ] [/code ] tags, aswell as moving some of the definitions around, to make it more readable...
__________________
Don't worry Ma'am, We're university students, We know what We're doing.
-----
If you pull the pin, Mr.Grenade would no longer be your friend.
-----
01000111 01101111 00100000 01000011 00100000 00100001
redhead is offline   Reply With Quote