mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 12:54:27 +00:00
After r311459, some ports can break, because a few of the newly added
prototypes in <tcpd.h> use FILE. Pull in a minimal forward declaration of FILE from <stdio.h> to minimize impact. Sorry for the breakage. Reported by: Shawn Webb <shawn.webb@hardenedbsd.org> X-MFC-With: r311459
This commit is contained in:
parent
d60571b4a9
commit
dba092b109
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=311556
|
@ -12,6 +12,11 @@
|
|||
#define TCPD_SOCKADDR struct sockaddr_in
|
||||
#endif
|
||||
|
||||
#ifndef _STDFILE_DECLARED
|
||||
#define _STDFILE_DECLARED
|
||||
typedef struct __sFILE FILE;
|
||||
#endif
|
||||
|
||||
/* Structure to describe one communications endpoint. */
|
||||
|
||||
#define STRING_LENGTH 128 /* hosts, users, processes */
|
||||
|
|
Loading…
Reference in a new issue