Changeset 520 for trunk/src


Ignore:
Timestamp:
Mar 19, 2017, 8:43:36 PM (8 years ago)
Author:
katerina
Message:

Fix for ticket #415 (build issue with musl libc).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/dnmalloc.c

    r516 r520  
    822822 * it may actually raise an error.
    823823 */
    824 #if defined(HAVE_MALLOC_H) && !defined(__OpenBSD__) && !defined(__FreeBSD__) && !defined(__NetBSD__)
     824#if defined(HAVE_MALLOC_H) && !defined(__OpenBSD__) && !defined(__FreeBSD__) && !defined(__NetBSD__) && defined(__GLIBC__)
    825825#include <malloc.h>
    826826#else
     
    55255525                struct timeval tv1;
    55265526                struct timeval tv2;
    5527                 u_int rnd[(128 - 2*sizeof(struct timeval)) / sizeof(u_int)];
     5527                unsigned char rnd[(128 - 2*sizeof(struct timeval)) / sizeof(unsigned char)];
    55285528        } rdat;
    55295529#if !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__NetBSD__)
Note: See TracChangeset for help on using the changeset viewer.