[gjs] modules/system.cpp: Don't include unistd.h



commit 292329e2b114ac433c91d9e63ed1da87162f0c34
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Tue Jan 24 19:36:46 2017 +0800

    modules/system.cpp: Don't include unistd.h
    
    unistd.h does not come with all compilers on Windows, and functionality in
    there isn't really needed.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=775868

 modules/system.cpp |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/modules/system.cpp b/modules/system.cpp
index c2c1551..d8e6287 100644
--- a/modules/system.cpp
+++ b/modules/system.cpp
@@ -25,7 +25,6 @@
 #include <config.h>
 
 #include <sys/types.h>
-#include <unistd.h>
 #include <time.h>
 
 #include <gjs/context.h>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]