Define O_RDONLY if not already defined and use it in read_specs's call
drwxr-xr-x - gcc