Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix compile error when ``_uuid`` headers conflicting included.
9 changes: 6 additions & 3 deletions Modules/_uuidmodule.c
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
/*
* Python UUID module that wraps libuuid -
* DCE compatible Universally Unique Identifier library.
*/

#define PY_SSIZE_T_CLEAN

#include "Python.h"
#ifdef HAVE_UUID_UUID_H
#include <uuid/uuid.h>
#endif
#ifdef HAVE_UUID_H
#elif defined(HAVE_UUID_H)
#include <uuid.h>
#endif


static PyObject *
py_uuid_generate_time_safe(void)
{
Expand Down