bug-gnulib
[Top][All Lists]
Advanced

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

unistd.h has to be included twice to avoid compile errors on MinGW


From: Philip Nienhuis
Subject: unistd.h has to be included twice to avoid compile errors on MinGW
Date: Sun, 26 Aug 2012 17:58:00 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.11) Gecko/20100701 SeaMonkey/2.0.6

See this thread:
http://lists.gnu.org/archive/html/bug-gnulib/2011-01/msg00473.html

When compiling code invoking gnulib under MinGW, the statement
  #include <unistd.h>
has to present in duplo to avoid certain errors of the kind: "... is not a member of 'gnulib'" (where ... could be e.g., gethostname, isatty, unlink, etc).

This issue has not been solved until now; so here's again a request to look into it.

Thanks,

Philip



reply via email to

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