Ticket #5775: patcharc4random2.diff

File patcharc4random2.diff, 515 bytes (added by Carl Eugen Hoyos, 10 years ago)
  • configure

    diff --git a/configure b/configure
    index 1b41303..25141e5 100755
    a b check_func ${malloc_prefix}memalign && enable memalign  
    54495449check_func  ${malloc_prefix}posix_memalign      && enable posix_memalign
    54505450
    54515451check_func  access
    5452 check_func  arc4random
     5452check_func_headers stdlib.h arc4random
    54535453check_func_headers time.h clock_gettime || { check_func_headers time.h clock_gettime -lrt && add_extralibs -lrt && LIBRT="-lrt"; }
    54545454check_func  fcntl
    54555455check_func  fork