[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Cluster-devel] fsck/libgfs2: Add a couple of missing header files



>From 00a72262f58e8d2da28e66a06e38d00b88a8f419 Mon Sep 17 00:00:00 2001
From: Steven Whitehouse <swhiteho redhat com>
Date: Thu, 22 Dec 2011 11:54:46 +0000
Subject: [PATCH] fsck/libgfs2: Add a couple of missing header files

This silences a couple of compiler warnings

Signed-off-by: Steven Whitehouse <swhiteho redhat com>
---
 gfs2/fsck/inode_hash.c |    1 +
 gfs2/libgfs2/rgrp.c    |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/gfs2/fsck/inode_hash.c b/gfs2/fsck/inode_hash.c
index 6ad4b32..731c9c6 100644
--- a/gfs2/fsck/inode_hash.c
+++ b/gfs2/fsck/inode_hash.c
@@ -3,6 +3,7 @@
 #include <stdint.h>
 #include <unistd.h>
 #include <libintl.h>
+#include <string.h>
 
 #include "libgfs2.h"
 #include "osi_list.h"
diff --git a/gfs2/libgfs2/rgrp.c b/gfs2/libgfs2/rgrp.c
index 3e852d2..c0f72fd 100644
--- a/gfs2/libgfs2/rgrp.c
+++ b/gfs2/libgfs2/rgrp.c
@@ -4,6 +4,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#include <unistd.h>
 
 #include "libgfs2.h"
 
-- 
1.7.4.4




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]