Video grabber doesn't work for my camera

The video grabber doesnt work with my camera. It gives the error that it is unable to open the local device. In openframeworks read me file it mentions that you comment out this line in ofConstants.h if there are issues:

#define OF_SWITCH_TO_UNICAP_FOR_LINUX_VIDCAP

I did that, and when I goto rebuild it complains that line 45 of ofUtils.cpp:

gettimeofday( &now, NULL );

isnt declared in scope.

What can I do to get my camera working?

you can use the package here:

http://forum.openframeworks.cc/t/karmic-package/2791/0

or wait till next OF version is released (really, really soon) where the new linux videograbber is included