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 b2b9aaa commit afe244dCopy full SHA for afe244d
Modules/posixmodule.c
@@ -8806,14 +8806,14 @@ os_ptsname_impl(PyObject *module, int fd)
8806
#if defined(HAVE_OPENPTY) || defined(HAVE_FORKPTY) || defined(HAVE_LOGIN_TTY) || defined(HAVE_DEV_PTMX)
8807
#ifdef HAVE_PTY_H
8808
#include <pty.h>
8809
-#ifdef HAVE_UTMP_H
8810
-#include <utmp.h>
8811
-#endif /* HAVE_UTMP_H */
8812
#elif defined(HAVE_LIBUTIL_H)
8813
#include <libutil.h>
8814
#elif defined(HAVE_UTIL_H)
8815
#include <util.h>
8816
#endif /* HAVE_PTY_H */
+#ifdef HAVE_UTMP_H
+#include <utmp.h>
+#endif /* HAVE_UTMP_H */
8817
#ifdef HAVE_STROPTS_H
8818
#include <stropts.h>
8819
#endif
0 commit comments