source: debwrt/trunk/debian/package/hostapd/patches/001_fix_GNU_compile_and_header_include.diff @ 265

Last change on this file since 265 was 265, checked in by stappers, 8 years ago

Review of r263

  • Restored the README file
  • Removed a leftover from ticket #116
  • Documented some how the actual fix for #116
File size: 388 bytes
  • src/src/crypto/random.c

    This patch was added May 2011
    to get a clean (cross) compile for DebWRT
    
    old new  
    3030
    3131#include "utils/includes.h"
    3232#ifdef __linux__
     33#define __USE_GNU
    3334#include <fcntl.h>
     35#include <sys/stat.h>
    3436#endif /* __linux__ */
    3537
    3638#include "utils/common.h"
Note: See TracBrowser for help on using the repository browser.