File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -14,10 +14,10 @@ extern "C" {
14
14
15
15
#ifdef MS_WINDOWS
16
16
# ifndef SOCKET
17
- # include <winsock2.h> // SOCKET
17
+ # error " <winsock2.h> must be included before this header"
18
18
# endif
19
19
# ifndef HANDLE
20
- # include <windows.h> // HANDLE
20
+ # error " <windows.h> must be included before this header"
21
21
# endif
22
22
#endif
23
23
#include <signal.h> // NSIG
Original file line number Diff line number Diff line change 13
13
#include "pycore_moduleobject.h" // _PyModule_GetState()
14
14
#include "pycore_pyerrors.h" // _PyErr_SetString()
15
15
#include "pycore_pystate.h" // _PyThreadState_GET()
16
- #include "pycore_signal.h" // Py_NSIG
17
16
18
17
#ifndef MS_WINDOWS
19
18
# include "posixmodule.h"
29
28
# endif
30
29
#endif
31
30
31
+ #include "pycore_signal.h" // Py_NSIG
32
+
32
33
#ifdef HAVE_SIGNAL_H
33
34
# include <signal.h>
34
35
#endif
You can’t perform that action at this time.
0 commit comments