Skip to content

Commit

Permalink
Merge pull request #123 from maxmind/greg/build-python-3.13
Browse files Browse the repository at this point in the history
Include unistd.h to fix Python 3.13 build
  • Loading branch information
horgh authored Oct 25, 2023
2 parents 6538ba3 + 610d8db commit 13b1056
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ History
Jean-Baptiste Braun and others. GitHub #23.
* The multiprocessing test now explicitly uses ``fork``. This allows it
to run successfully on macOS. Pull request by Theodore Ni. GitHub #116.
* The C extension now builds on Python 3.13.

2.4.0 (2023-06-28)
++++++++++++++++++
Expand Down
1 change: 1 addition & 0 deletions extension/maxminddb.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#include <netinet/in.h>
#include <structmember.h>
#include <sys/socket.h>
#include <unistd.h>

#define __STDC_FORMAT_MACROS
#include <inttypes.h>
Expand Down

0 comments on commit 13b1056

Please sign in to comment.