[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: last kio_ldap breaks compile
From:       joerg habenicht <j.habenicht () stud ! uni-hannover ! de>
Date:       2001-02-26 15:11:20
[Download RAW message or body]

On Mon, 26 Feb 2001, Cristian Tibirna wrote:

> 
> Hello
> 
> The last commit to kdebase/kioslave/ldap/kldap.h, the one that mildly 
> criticized Michael Matz for using "shity" as a qualifier for glibc-2.2.2, 
> broke compiling.
> 
> CT
> 


could be this:
from kldap.h:
#ifndef TIME_WITH_SYS_TIME
#include <sys/time.h>
#else
#include <time.h>
#endif

from config.h
/* Define if you can safely include both <sys/time.h> and <time.h>.  */
#define TIME_WITH_SYS_TIME 1


I think it should be like this:
#ifdef TIME_WITH_SYS_TIME
# include <sys/time.h>
#endif
#include <time.h>

comments ?
cu,
Joerg

-- 
THE full automatic planets host
:-)                            http://www.planetsserver.com

-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GE/CS/IT d- s+:- a- C++ ULS+++>++++ P++ L+++>++++$ 
E W++ N+(+++) !o? !K? w--(---) !O(++) !M !PS !PE !Y? PGP+ 
t-- 5-- X-- tv+ b++ DI+() D-(+) G>+ e++>+++ h+(*) r% y? UF
------END GEEK CODE BLOCK------
"Man sollte das Leben nicht so ernst nehmen, 
 Du überlebt es sowieso nicht."

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic