nfs-ganesha/nfs-ganesha-2.4dev29-FSAL.patch
Kaleb S. KEITHLEY 4afaf468c3 2.4-dev-29
2016-08-16 07:36:10 -04:00

51 lines
1.8 KiB
Diff

--- nfs-ganesha-2.4-dev-29/src/FSAL/FSAL_VFS/handle.c.orig 2016-08-15 13:40:03.546478618 -0400
+++ nfs-ganesha-2.4-dev-29/src/FSAL/FSAL_VFS/handle.c 2016-08-15 13:47:10.254478618 -0400
@@ -32,6 +32,7 @@
#include "config.h"
+#include <sys/sysmacros.h> /* for makedev(3) */
#include <libgen.h> /* used for 'dirname' */
#include <pthread.h>
#include <string.h>
--- nfs-ganesha-2.4-dev-29/src/FSAL/FSAL_CEPH/handle.c.orig 2016-08-15 13:45:20.288478618 -0400
+++ nfs-ganesha-2.4-dev-29/src/FSAL/FSAL_CEPH/handle.c 2016-08-15 13:46:43.061478618 -0400
@@ -31,6 +31,7 @@
* fsal_obj_handle type.
*/
+#include <sys/sysmacros.h> /* for makedev(3) */
#include <fcntl.h>
#include <cephfs/libcephfs.h>
#include "fsal.h"
--- nfs-ganesha-2.4-dev-29/src/FSAL/FSAL_GLUSTER/handle.c.orig 2016-08-15 13:46:00.312478618 -0400
+++ nfs-ganesha-2.4-dev-29/src/FSAL/FSAL_GLUSTER/handle.c 2016-08-15 13:46:54.820478618 -0400
@@ -21,6 +21,7 @@
* -------------
*/
+#include <sys/sysmacros.h> /* for makedev(3) */
#include <fcntl.h>
#include "fsal.h"
#include "gluster_internal.h"
--- nfs-ganesha-2.4-dev-29/src/FSAL/fsal_convert.c.orig 2016-08-16 06:40:41.950478618 -0400
+++ nfs-ganesha-2.4-dev-29/src/FSAL/fsal_convert.c 2016-08-16 06:42:02.135478618 -0400
@@ -9,6 +9,7 @@
*/
#include "config.h"
+#include <sys/sysmacros.h> /* for major(3), minor(3) */
#include <sys/types.h>
#include <sys/stat.h>
#include <errno.h>
--- nfs-ganesha-2.4-dev-29/src/FSAL/commonlib.c.orig 2016-08-16 07:34:13.138478618 -0400
+++ nfs-ganesha-2.4-dev-29/src/FSAL/commonlib.c 2016-08-16 07:34:54.822478618 -0400
@@ -41,6 +41,7 @@
#include "config.h"
#include <misc/queue.h> /* avoid conflicts with sys/queue.h */
+#include <sys/sysmacros.h> /* for major(3), minor(3) */
#include <libgen.h> /* used for 'dirname' */
#include <pthread.h>
#include <sys/stat.h>