include header needed by older linux kernels

not all versions of <linux/random.h> include <linux/types.h> by default