lzip-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Lzip-bug] include pthread.h in plzip.cc


From: Antonio Diaz Diaz
Subject: Re: [Lzip-bug] include pthread.h in plzip.cc
Date: Wed, 20 Jan 2010 17:12:41 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.7.11) Gecko/20050905

Ersek, Laszlo wrote:
On Tue, 19 Jan 2010, Antonio Diaz Diaz wrote:

It seems the line:
 #include <pthread.h>
needs to be inserted at line 29 of plzip.cc.
> ...
the #include is missing from "main.h" (it was there in llzip-0.03 :)).

You are right. I forgot to copy this #include to plzip.cc.


An advantage of this approach is that all dependencies are immediately visible 
in the .c / .cc files

This is one reason I prefer this approach. It also allows to easily determine the order of inclusion of headers.


Best regards,
Antonio.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]