@ -9,6 +9,7 @@
// Copyright: See COPYING file that comes with this distribution
// Copyright: See COPYING file that comes with this distribution
//
//
//
//
# include "config.h"
# include "clearcasemanipulator.h"
# include "clearcasemanipulator.h"
# include <kprocess.h>
# include <kprocess.h>
@ -23,9 +24,8 @@
# include <sys/param.h>
# include <sys/param.h>
# endif
# endif
# if defined(Q_OS_MACX) || defined(MACOSX) || defined(Q_OS_SOLARIS) || defined(Q_OS_FREEBSD) || (defined(__NetBSD__) && (__NetBSD_Version__ < 599001500)) || defined(__DragonFly__ )
# if !defined( HAVE_GETLINE )
//this function is taken from GNU libc
//this function is taken from GNU libc
//it does not exist on macos
int getline ( char * * lineptr , size_t * n , FILE * stream )
int getline ( char * * lineptr , size_t * n , FILE * stream )
{
{
static char line [ 256 ] ;
static char line [ 256 ] ;