Change stdin member of svc to stdin_fd

'stdin' is a macro in stdio.h, so it shouldn't be used as a member name. GLIBC happens to have "#define stdin stdin", but other libcs don't.
This commit is contained in:
Patrick Stewart committed 2016-04-13 22:09:05 +01:00
1 parent ec2505191b
commit 0ba8df5c2d
3 files changed
+5 -5

No files matched your search

Regular → Executable
+1 -1
View File
@@ -99,7 +99,7 @@ typedef struct svc {
/* For inetd services */
inetd_t inetd;
int stdin;
int stdin_fd;
int log;