<<< Date Index >>>     <<< Thread Index >>>

[Mutt] #3279: hcache.c with db.h failes to compile on AIX



#3279: hcache.c with db.h failes to compile on AIX
--------------------------+-------------------------------------------------
 Reporter:  mislik        |       Owner:  mutt-dev
     Type:  defect        |      Status:  new     
 Priority:  major         |   Milestone:          
Component:  header cache  |     Version:  1.5.19  
 Keywords:                |  
--------------------------+-------------------------------------------------
 Compile failes for hcache.c with Berkeley DB on AIX. The reason is, that
 /usr/include/sys/thread.h gets included via db.h and contains a definition
 for "struct thread". This clashes with "struct thread" in mutt.h.

 Since all other files use the typedef'd THREAD, simply replacing all
 ocurrences of "struct thread" in mutt.h with "struct mutt_thread" seems to
 solve this.

-- 
Ticket URL: <http://dev.mutt.org/trac/ticket/3279>
Mutt <http://www.mutt.org/>
The Mutt mail user agent