← Back to team overview

hipl-core team mailing list archive

[Branch ~hipl-core/hipl/trunk] Rev 4911: Fixed compilation errors occuring on Fedora 13.

 

------------------------------------------------------------
revno: 4911
committer: Miika Komu <miika@xxxxxx>
branch nick: trunk
timestamp: Tue 2010-08-24 20:14:01 +0300
message:
  Fixed compilation errors occuring on Fedora 13.
  
  lib/core/filemanip.c: In function check_and_create_dir:
  lib/core/filemanip.c:149: error: implicit declaration of function stat
  lib/core/filemanip.c:151: error: implicit declaration of function mkdir
  lib/core/filemanip.c: In function change_key_file_perm:
  lib/core/filemanip.c:186: error: implicit declaration of function chmod
  
  hipd/init.c: In function hip_create_file_unless_exists
  hipd/init.c:146: error: implicit declaration of function stat
modified:
  hipd/init.c
  lib/core/filemanip.c


--
lp:hipl
https://code.launchpad.net/~hipl-core/hipl/trunk

Your team HIPL core team is subscribed to branch lp:hipl.
To unsubscribe from this branch go to https://code.launchpad.net/~hipl-core/hipl/trunk/+edit-subscription
=== modified file 'hipd/init.c'
--- hipd/init.c	2010-08-12 12:07:54 +0000
+++ hipd/init.c	2010-08-24 17:14:01 +0000
@@ -46,6 +46,7 @@
 #include <sys/types.h>
 #include <sys/utsname.h>
 #include <sys/wait.h>
+#include <sys/stat.h>
 #include <linux/rtnetlink.h>
 
 #include "lib/core/capability.h"

=== modified file 'lib/core/filemanip.c'
--- lib/core/filemanip.c	2010-07-14 15:58:20 +0000
+++ lib/core/filemanip.c	2010-08-24 17:14:01 +0000
@@ -29,6 +29,8 @@
  * @author Miika Komu <miika@xxxxxx>
  */
 
+#include <sys/types.h>
+#include <sys/stat.h>
 #include <errno.h>
 #include <signal.h>
 #include <stdio.h>