Changeset 4626

Show
Ignore:
Timestamp:
09/23/06 23:37:51 (2 years ago)
Author:
erijo
Message:

Fix problem with strndup not being declared on MacOSX. Togheter with r4625 this commit closes #1401.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/msn/src/msn.h

    r4526 r4626  
    2020#define __MSN_H 
    2121 
     22#ifdef HAVE_CONFIG_H 
     23#include "config.h" 
     24#endif 
     25 
    2226#include "licq_events.h" 
    2327#include "licq_icqd.h" 
     
    3842const unsigned short FLAG_BLOCK_LIST   = 4; 
    3943const unsigned short FLAG_REVERSE_LIST = 8; 
     44 
     45#ifndef HAVE_STRNDUP 
     46char *strndup(const char *s, size_t n); 
     47#endif 
    4048 
    4149#include <string>