Added the appropriate headers containing DIR struct