In reply to:

You probably already have hijack.h, since you are already compiling code somehow for the the player.


Not necessarily, as the program shown doesn't use any Hijack APIs - it just opens the control device using stdio.h calls. The few programs I've written for my player were compiled, installed and run before I first downloaded Hijack (oh, those dark, unenlightened days).
_________________________
Toby Speight
030103016 (80GB Mk2a, blue)
030102806 (0GB Mk2a, blue)