Skip to content

Commit

Permalink
revert parts of r21216 which creates build problems with some version…
Browse files Browse the repository at this point in the history
…s of cython / python

git-svn-id: https://xpra.org/svn/Xpra/trunk@21225 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Dec 13, 2018
1 parent e7c1057 commit a4fcf75
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/xpra/server/pam.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,18 @@ log = Logger("util", "auth")
from xpra.os_util import strtobytes, bytestostr
from ctypes import addressof, create_string_buffer
from libc.stdint cimport uintptr_t
from libc.string import strdup
from libc.stdlib import calloc
from xpra.buffers.membuf cimport object_as_buffer, object_as_write_buffer


cdef extern from "errno.h" nogil:
int errno

cdef extern from "string.h":
char *strdup(const char *s1)

cdef extern from "stdlib.h":
void *calloc(size_t nitems, size_t size)

cdef extern from "pam_misc.h":
ctypedef struct pam_handle_t:
pass
Expand Down

0 comments on commit a4fcf75

Please sign in to comment.