Disable Screensaver/Power Management?

Hi,

Is there a cross-platform method to
disable the OS’s screensaver/power management
while an SDL application is running?

I noticed that when playing an SDL game with a joystick,
the screensaver/power management is activated
because the mouse and keyboard are not being used.

Thanks!

Jesse