浏览代码

Use <fcntl.h>, not <sys/fcntl.h>

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@40022 15284696-431f-4ddb-bdfa-cd5b030d7da7
Glynn Clements 15 年之前
父节点
当前提交
e019d5b5bc
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      raster/r.drain/main.c
  2. 1 1
      raster/r.fill.dir/main.c

+ 1 - 1
raster/r.drain/main.c

@@ -35,7 +35,7 @@
 /* for using the "open" statement */
 #include <sys/types.h>
 #include <sys/stat.h>
-#include <sys/fcntl.h>
+#include <fcntl.h>
 
 /* for using the close statement */
 #include <unistd.h>

+ 1 - 1
raster/r.fill.dir/main.c

@@ -42,7 +42,7 @@
 /* for using the "open" statement */
 #include <sys/types.h>
 #include <sys/stat.h>
-#include <sys/fcntl.h>
+#include <fcntl.h>
 
 /* for using the close statement */
 #include <unistd.h>