Ticket #2013: tt2013-sysparam.patch

File tt2013-sysparam.patch, 440 bytes (added by doughera, 3 years ago)
  • src/platform/generic/sysmem.c

    diff -r -u parrot-orig/src/platform/generic/sysmem.c parrot/src/platform/generic/sysmem.c
    old new  
    2525#include <stdio.h> 
    2626#include <unistd.h> 
    2727 
     28#if defined(PARROT_HAS_HEADER_SYSPARAM) 
     29#  include <sys/param.h> 
     30#endif 
    2831#if defined(PARROT_HAS_HEADER_SYSSYSCTL) 
    2932#  include <sys/sysctl.h> 
    3033#endif