security.h: Fixed compilation warning

ISO C forbids forward references to 'enum' types