FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Cluster Development

 
 
LinkBack Thread Tools
 
Old 12-22-2011, 10:58 AM
Steven Whitehouse
 
Default 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
 

Thread Tools




All times are GMT. The time now is 08:28 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org