[Webkit-unassigned] [Bug 15463] New: getpid(2) and #include <unistd.h>

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 11 03:50:53 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=15463

           Summary: getpid(2) and  #include <unistd.h>
           Product: WebKit
           Version: 522+ (nightly)
          Platform: PC
        OS/Version: Other
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: reed at reedmedia.net


Was building WebKit-r26183 and it failed due to unknown getpid. This build
platform is DragonFly (which is unknown to qmake).

My patch follows. I assume it is needed for other BSDs also.

--- JavaScriptCore/kjs/interpreter.cpp.orig     2007-10-10 19:33:20.000000000
-0700
+++ JavaScriptCore/kjs/interpreter.cpp  2007-10-10 19:33:57.000000000 -0700
@@ -56,6 +56,8 @@
 #include <math.h>
 #include <signal.h>
 #include <stdio.h>
+#include <sys/types.h> /* for DragonFly */
+#include <unistd.h>    /* for NetBSD and DragonFly for getpid */

 #if PLATFORM(WIN_OS)
 #include <windows.h>


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list