Ticket #16280: patch-src_files.cc.diff

File patch-src_files.cc.diff, 497 bytes (added by blb@…, 16 years ago)

patch to src/files.cc

  • src/files.cc

    old new  
    22#include <stdlib.h>
    33#include <string.h>
    44#include <dirent.h>
     5#include <sys/stat.h>
    56
    67#include "player.h"
    78#include "files.h"
     
    698699/*
    699700Filter out files that do not have .sav in the name.
    700701*/
    701 int Filter_File( const struct dirent *my_file )
     702int Filter_File( struct dirent *my_file )
    702703{
    703704    if ( strstr(my_file->d_name, ".sav") )
    704705       return TRUE;