Skip to contentSkip to conversation

fsck/libgfs2: Add a couple of missing header files

Cluster-devel Steven Whitehouse 2 participants 2 messages Dec 22, 2011

lore
Share & tools
lore
#0 lore raw

From 00a72262f58e8d2da28e66a06e38d00b88a8f419 Mon Sep 17 00:00:00 2001
From: Steven Whitehouse <[email protected]>
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

---
 gfs2/fsck/inode_hash.c |    1 +
 gfs2/libgfs2/rgrp.c    |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)
gfs2/fsck/inode_hash.c +1 -0
index 6ad4b32..731c9c6 100644
@@ -3,6 +3,7 @@
 #include <stdint.h>
 #include <unistd.h>
 #include <libintl.h>
+#include <string.h>
 
 #include "libgfs2.h"
 #include "osi_list.h"
gfs2/libgfs2/rgrp.c +1 -0
index 3e852d2..c0f72fd 100644
@@ -4,6 +4,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#include <unistd.h>
 
 #include "libgfs2.h"
 
Signature · 1 line
1.7.4.4
#1 lore raw

----- Original Message -----

| >From 00a72262f58e8d2da28e66a06e38d00b88a8f419 Mon Sep 17 00:00:00
| >2001
| From: Steven Whitehouse <[email protected]>
| 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 <[email protected]>
| ---

Hi,

ACKed by Bob Peterson <[email protected]>

Regards,

Bob Peterson
Red Hat File Systems