Changeset 177 for trunk


Ignore:
Timestamp:
Sep 10, 2008, 8:12:52 PM (16 years ago)
Author:
katerina
Message:

Fix for compile failure on Fedora 9 (ticket #115).

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r174 r177  
    1313dnl start
    1414dnl
    15 AM_INIT_AUTOMAKE(samhain, 2.4.6)
     15AM_INIT_AUTOMAKE(samhain, 2.4.6a)
    1616AC_DEFINE([SAMHAIN], 1, [Application is samhain])
    1717AC_CANONICAL_HOST
  • trunk/docs/Changelog

    r176 r177  
    1 2.4.6:
     12.4.6a:
     2        * fix compile problem on Fedora 9 (reported by pierpaolo),
     3          'struct ucred' in sh_socket.c requires _GNU_SOURCE
     4       
     52.4.6 (27-08-2008):
    26        * fix compile failure on win2k/cygwin (sh_unix_mlock prototype),
    37          reported by jhamilton
  • trunk/src/sh_socket.c

    r170 r177  
    2323 * #define SH_DEBUG_SOCKET
    2424 */
     25#if defined(SH_WITH_SERVER) && defined(__linux__)
     26#define _GNU_SOURCE
     27#endif
    2528
    2629#include <stdio.h>
Note: See TracChangeset for help on using the changeset viewer.