8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f51510 commit 5b38654Copy full SHA for 5b38654
Modules/posixmodule.c
@@ -8820,14 +8820,14 @@ os_ptsname_impl(PyObject *module, int fd)
8820
#if defined(HAVE_OPENPTY) || defined(HAVE_FORKPTY) || defined(HAVE_LOGIN_TTY) || defined(HAVE_DEV_PTMX)
8821
#ifdef HAVE_PTY_H
8822
#include <pty.h>
8823
-#ifdef HAVE_UTMP_H
8824
-#include <utmp.h>
8825
-#endif /* HAVE_UTMP_H */
8826
#elif defined(HAVE_LIBUTIL_H)
8827
#include <libutil.h>
8828
#elif defined(HAVE_UTIL_H)
8829
#include <util.h>
8830
#endif /* HAVE_PTY_H */
+#ifdef HAVE_UTMP_H
+#include <utmp.h>
+#endif /* HAVE_UTMP_H */
8831
#ifdef HAVE_STROPTS_H
8832
#include <stropts.h>
8833
#endif
0 commit comments