[PATCH 1/3] Add missing file io header includes

Ben Gamari bgamari.foss at gmail.com
Sun Jun 14 00:06:27 PDT 2009


Include <unistd.h>, <sys/stat.h>, and <fcntl.h> for open(), et al.
---
 modules/im/ximcp/imLcIm.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/modules/im/ximcp/imLcIm.c b/modules/im/ximcp/imLcIm.c
index 5af08c0..17121b5 100644
--- a/modules/im/ximcp/imLcIm.c
+++ b/modules/im/ximcp/imLcIm.c
@@ -38,6 +38,9 @@ THIS SOFTWARE.
 #include <config.h>
 #endif
 #include <stdio.h>
+#include <unistd.h>
+#include <sys/stat.h>
+#include <fcntl.h>
 
 #include <X11/Xmd.h>
 #include <X11/Xatom.h>
-- 
1.6.3.1




More information about the xorg mailing list