Explorar el Código

obtain ioctl from sys/ioctl.h as per manpage

fixed build failure on fedora
Ronny Pfannschmidt hace 9 años
padre
commit
7b564e518d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      borg/platform_linux.pyx

+ 1 - 1
borg/platform_linux.pyx

@@ -47,7 +47,7 @@ cdef extern from "linux/fs.h":
     int FS_APPEND_FL
     int FS_COMPR_FL
 
-cdef extern from "stropts.h":
+cdef extern from "sys/ioctl.h":
     int ioctl(int fildes, int request, ...)
 
 cdef extern from "string.h":