Ticket #592: gcc_4_compile.patch

File gcc_4_compile.patch, 1.0 kB (added by defer, 2 years ago)

Add required includes to files

  • tools/backend_lib.h

    old new  
    2323#include "crypt.h" 
    2424#include "sched_config.h" 
    2525#include "boinc_db.h" 
     26#include <limits.h> 
    2627 
    2728extern int add_signatures(char*, R_RSA_PRIVATE_KEY&); 
    2829extern int remove_signatures(char*); 
  • sched/single_job_assimilator.C

    old new  
    2525#include <vector> 
    2626#include <string> 
    2727#include <cstdlib> 
     28#include <cstring> 
    2829 
    2930#include "boinc_db.h" 
    3031#include "error_numbers.h" 
  • lib/coproc.h

    old new  
    2121#define _COPROC_ 
    2222 
    2323#include <vector> 
     24#include <cstring> 
    2425 
    2526#include "miofile.h" 
    2627 

If this page is incomplete or incorrect, please edit it or add it to the wiki to-do list. To do this, you must be logged in; click Login or Register above.