浏览代码

obtain ioctl from sys/ioctl.h as per manpage

fixed build failure on fedora
Ronny Pfannschmidt 9 年之前
父节点
当前提交
7b564e518d
共有 1 个文件被更改,包括 1 次插入1 次删除
  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":