delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
X-Comment: | RFC 2476 MSA function at smtp2.yandex.ru logged sender identity as: ekot |
Message-ID: | <448D8F34.4060807@narod.ru> |
Date: | Mon, 12 Jun 2006 19:58:44 +0400 |
From: | Eugene Kotlyarov <ekot AT narod DOT ru> |
Reply-To: | ekot AT narod DOT ru |
User-Agent: | Thunderbird 1.5.0.4 (Windows/20060516) |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Missing include in mntent.h |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
--------------080507010703070001030201 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit Hello I think #include <stdio.h> is needed in mntent.h for definition of FILE. Here is patch for it. --------------080507010703070001030201 Content-Type: text/plain; name="mntent.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="mntent.diff" --- mntent.h.old 2006-06-12 19:39:27.000000000 +0400 +++ mntent.h 2006-06-12 19:56:23.015625000 +0400 @@ -26,6 +26,7 @@ }; #ifndef _NOMNTENT_FUNCS +#include <stdio.h> /* needed for FILE */ FILE *setmntent (const char *__filep, const char *__type); struct mntent *getmntent (FILE *__filep); int addmntent (FILE *__filep, const struct mntent *__mnt); --------------080507010703070001030201 Content-Type: text/plain; charset=us-ascii -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ --------------080507010703070001030201--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |