[hipl-commit] [trunk] Rev 4572: Add #include for required header fcntl.h, remove unnecessary config.h #include.

  • From: Diego Biurrun <diego@xxxxxxxxxx>
  • To: hipl-commit@xxxxxxxxxxxxx
  • Date: Sat, 22 May 2010 20:21:11 +0300

Committer: Diego Biurrun <diego@xxxxxxxxxx>
Date: 22/05/2010 at 20:21:11
Revision: 4572
Revision-id: diego@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Branch nick: trunk

Log:
  Add #include for required header fcntl.h, remove unnecessary config.h 
#include.

Modified:
  M  lib/core/filemanip.h

=== modified file 'lib/core/filemanip.h'
--- lib/core/filemanip.h        2010-05-17 18:24:10 +0000
+++ lib/core/filemanip.h        2010-05-22 17:20:42 +0000
@@ -7,10 +7,9 @@
 #ifndef HIP_LIB_CORE_FILEMANIP_H
 #define HIP_LIB_CORE_FILEMANIP_H
 
+#include <fcntl.h>
 #include <sys/types.h>
 
-#include "config.h"
-
 #define HIP_CREATE_FILE(x)     open((x), O_RDWR | O_CREAT, 0644)
 
 #define HIP_DEFAULT_EXEC_PATH 
"/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin"

Other related posts:

  • » [hipl-commit] [trunk] Rev 4572: Add #include for required header fcntl.h, remove unnecessary config.h #include. - Diego Biurrun