Ignore:
Timestamp:
Jul 18, 2008, 11:28:14 AM (12 years ago)
Author:
Sam Hocevar
Message:
  • lib-mem.c: fix FreeBSD 7.0 build by including <sys/cdefs.h> earlier on.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • zzuf/trunk/src/lib-mem.c

    r2556 r2565  
    2323/* Need this for MAP_ANON and valloc() on FreeBSD (together with cdefs.h) */
    2424#define _BSD_SOURCE
     25#if defined HAVE_SYS_CDEFS_H
     26#   include <sys/cdefs.h>
     27#endif
    2528/* Use this to get mmap64() on glibc systems */
    2629#define _LARGEFILE64_SOURCE
     
    4649#include <signal.h>
    4750
    48 #if defined HAVE_SYS_CDEFS_H
    49 #   include <sys/cdefs.h>
    50 #endif
    5151#if defined HAVE_MALLOC_H
    5252#   include <malloc.h>
Note: See TracChangeset for help on using the changeset viewer.