Trivial fix for includes

Mads Martin Joergensen <[email protected]> Tue, 5 Jul 2005 20:49:13 +0200
Newsgroups gmane.comp.file-systems.jfs.patches
Message-ID <[email protected]>
We're using printf and strcpy, so lets get the prototypes so that
intelligent compilers can do buffer checks.

--- jfsutils-1.1.8/tune/super.c
+++ jfsutils-1.1.8/tune/super.c
@@ -21,6 +21,9 @@
 #include "jfs_superblock.h"
 #include "jfs_logmgr.h"
 
+#include <string.h>
+#include <stdio.h>
+
 /*--------------------------------------------------------------------
  * NAME: build_flag_string
  *

-- 
Mads Martin Joergensen, http://mmj.dk
"Why make things difficult, when it is possible to make them cryptic
 and totally illogical, with just a little bit more effort?"
                                -- A. P. J.


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click