Changeset 520 for trunk


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

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

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/docs/Changelog

    r519 r520  
    114.2.1:
     2        * fix build issue with musl libc (report & patch by A. Kuster)
    23        * fix case sensitivity (tcp vs TCP, udp vs UDP) in portcheck
    34        directives (reported by Anton H.)
  • 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.