On Mon, Sep 21, 2009 at 3:31 PM, Anton Fedorov <datacomp...@call2ru.com> wrote:
>
> I'm use file.hrl, not httpd.hrl. And file.hrl provided by erlang-dev.
> But project, that depends on file.hrl can't be compiled with erlang-dev.
> Or, if file.hrl also internal, why it not in -src but in -dev ?

file.hrl is shipped by upstream with kernel application, included into
erlang-dev package and does not depend on any other header. You
may just add line

-include_lib("kernel/include/file.hrl").

to your source and it will build fine. file.hrl can't cause problems.

>
>> No, erlang-src contains only private headers which shouldn't be used
>> in application development.
> yes, but if build from headers in -dev rely on its?
> where should be header if it not internal, but requires internal headers?

If a header from erlang-dev requires another one from erlang-src then it's
a bug, but file.hrl doesn't.

Cheers!
-- 
Sergei Golovan



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to