In reply to:

/*Includes needed: (maybe not all are needed?)*/
#include <stdlib.h>
#include <sys/ioctl.h>
#include "hijack.h"
#include <time.h>
#include <sys/time.h>
#include <linux/errno.h>
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>
#include "vfdlib.h"


Well, you only need to include <stdlib.h> once...

In the absence of dependencies, it's probably best to include standard headers first, then sys/, linux/, and local (quotes rather than angles) headers in that order.
_________________________
Toby Speight
030103016 (80GB Mk2a, blue)
030102806 (0GB Mk2a, blue)