Benedikt Meurer wrote:
> Rodrigo Coacci wrote:
>>> Post the relevant lines before the strptime declarations from time.h.
>> Here they are:
>>
>> # ifdef __USE_XOPEN
>> /* Parse S according to FORMAT and store binary time information in TP.
>>   The return value is a pointer to the first unparsed character in S.  */
>> extern char *strptime (__const char *__restrict __s,
>>               __const char *__restrict __fmt, struct tm *__tp)
>>     __THROW;
>> # endif
>>
>> I guess the correct define is USE_XOPEN?
> 
> Add
> 
> #define __USE_XOPEN
> 
> before
> 
> #include <time.h>
> 
> Benedikt
> _______________________________________________
> Thunar-dev mailing list
> [email protected]
> http://foo-projects.org/mailman/listinfo/thunar-dev
> 

your latest changes in 22537 break building here again :/

> cc1: warnings being treated as errors
> tdb.c: In function 'tdb_write':
> tdb.c:398: warning: implicit declaration of function 'pwrite'
> tdb.c: In function 'tdb_read':
> tdb.c:421: warning: implicit declaration of function 'pread'
> make[2]: *** [tdb.lo] Error 1
> make[2]: Leaving directory `/home/baze/pkgs/thunar-svn/src/thunar/tdb'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/baze/pkgs/thunar-svn/src/thunar'
> make: *** [all] Error 2

Björn

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Thunar-dev mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/thunar-dev

Reply via email to