Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
d74b5936
Commit
d74b5936
authored
May 15, 2011
by
Nadeem Vawda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix _socket compilation failures on non-Linux buildbots (cf. issue #1746656).
parent
aedb2823
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
3 deletions
+9
-3
Modules/socketmodule.h
Modules/socketmodule.h
+4
-1
configure
configure
+1
-1
configure.in
configure.in
+1
-1
pyconfig.h.in
pyconfig.h.in
+3
-0
No files found.
Modules/socketmodule.h
View file @
d74b5936
...
@@ -59,9 +59,12 @@ typedef int socklen_t;
...
@@ -59,9 +59,12 @@ typedef int socklen_t;
#include <bluetooth.h>
#include <bluetooth.h>
#endif
#endif
#ifdef HAVE_NET_IF_H
# include <net/if.h>
#endif
#ifdef HAVE_NETPACKET_PACKET_H
#ifdef HAVE_NETPACKET_PACKET_H
# include <sys/ioctl.h>
# include <sys/ioctl.h>
# include <net/if.h>
# include <netpacket/packet.h>
# include <netpacket/packet.h>
#endif
#endif
...
...
configure
View file @
d74b5936
...
@@ -6037,7 +6037,7 @@ sys/lock.h sys/mkdev.h sys/modem.h \
...
@@ -6037,7 +6037,7 @@ sys/lock.h sys/mkdev.h sys/modem.h \
sys/param.h sys/poll.h sys/select.h sys/sendfile.h sys/socket.h sys/statvfs.h
\
sys/param.h sys/poll.h sys/select.h sys/sendfile.h sys/socket.h sys/statvfs.h
\
sys/stat.h sys/termio.h sys/time.h
\
sys/stat.h sys/termio.h sys/time.h
\
sys/times.h sys/types.h sys/uio.h sys/un.h sys/utsname.h sys/wait.h pty.h
\
sys/times.h sys/types.h sys/uio.h sys/un.h sys/utsname.h sys/wait.h pty.h
\
libutil.h sys/resource.h netpacket/packet.h sysexits.h bluetooth.h
\
libutil.h sys/resource.h net
/if.h net
packet/packet.h sysexits.h bluetooth.h
\
bluetooth/bluetooth.h linux/tipc.h spawn.h util.h
bluetooth/bluetooth.h linux/tipc.h spawn.h util.h
do
:
do
:
as_ac_Header
=
`
$as_echo
"ac_cv_header_
$ac_header
"
|
$as_tr_sh
`
as_ac_Header
=
`
$as_echo
"ac_cv_header_
$ac_header
"
|
$as_tr_sh
`
...
...
configure.in
View file @
d74b5936
...
@@ -1293,7 +1293,7 @@ sys/lock.h sys/mkdev.h sys/modem.h \
...
@@ -1293,7 +1293,7 @@ sys/lock.h sys/mkdev.h sys/modem.h \
sys/param.h sys/poll.h sys/select.h sys/sendfile.h sys/socket.h sys/statvfs.h \
sys/param.h sys/poll.h sys/select.h sys/sendfile.h sys/socket.h sys/statvfs.h \
sys/stat.h sys/termio.h sys/time.h \
sys/stat.h sys/termio.h sys/time.h \
sys/times.h sys/types.h sys/uio.h sys/un.h sys/utsname.h sys/wait.h pty.h \
sys/times.h sys/types.h sys/uio.h sys/un.h sys/utsname.h sys/wait.h pty.h \
libutil.h sys/resource.h netpacket/packet.h sysexits.h bluetooth.h \
libutil.h sys/resource.h net
/if.h net
packet/packet.h sysexits.h bluetooth.h \
bluetooth/bluetooth.h linux/tipc.h spawn.h util.h)
bluetooth/bluetooth.h linux/tipc.h spawn.h util.h)
AC_HEADER_DIRENT
AC_HEADER_DIRENT
AC_HEADER_MAJOR
AC_HEADER_MAJOR
...
...
pyconfig.h.in
View file @
d74b5936
...
@@ -539,6 +539,9 @@
...
@@ -539,6 +539,9 @@
/* Define to 1 if you have the <netpacket/packet.h> header file. */
/* Define to 1 if you have the <netpacket/packet.h> header file. */
#undef HAVE_NETPACKET_PACKET_H
#undef HAVE_NETPACKET_PACKET_H
/* Define to 1 if you have the <net/if.h> header file. */
#undef HAVE_NET_IF_H
/* Define to 1 if you have the `nice' function. */
/* Define to 1 if you have the `nice' function. */
#undef HAVE_NICE
#undef HAVE_NICE
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment