Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Aug 2014 19:18:17 +0200
From:      Carlos Jacobo Puga Medina <cpm@fbsd.es>
To:        mcdouga9@egr.msu.edu
Cc:        freebsd-chromium@freebsd.org
Subject:   Re: chromium 37 up for testing (and polishing)
Message-ID:  <20140823191817.72221ad837a5bce62f4dfeba@fbsd.es>

next in thread | raw e-mail | index | archive | help
> In file included from ../../base/files/file_path_watcher_kqueue.cc:5:
> In file included from ../../base/files/file_path_watcher_kqueue.h:8:
> /usr/include/sys/event.h:58:2: error: unknown type name 'uintptr_t'
>         uintptr_t       ident;          /* identifier for this event */
>         ^
> /usr/include/sys/event.h:60:2: error: unknown type name 'u_short'; did
> you mean 'short'?
>         u_short         flags;
>         ^
> /usr/include/sys/event.h:61:2: error: unknown type name 'u_int'
>         u_int           fflags;
>         ^
> /usr/include/sys/event.h:62:2: error: unknown type name 'intptr_t'
>         intptr_t        data;
>         ^
> 4 errors generated.
> ninja: build stopped: subcommand failed.
> *** Error code 1

Try the following patch:

--- ./base/files/file_path_watcher_kqueue.h.orig	2014-08-23 16:33:25.000000000 +0200
+++ ./base/files/file_path_watcher_kqueue.h	2014-08-23 16:35:51.000000000 +0200
@@ -5,6 +5,8 @@
 #ifndef BASE_FILES_FILE_PATH_WATCHER_KQUEUE_H_
 #define BASE_FILES_FILE_PATH_WATCHER_KQUEUE_H_
 
+#include <sys/stdint.h>
+#include <sys/types.h>
 #include <sys/event.h>
 #include <vector>


Regards,
-- 
Carlos Jacobo Puga Medina <cpm@fbsd.es>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140823191817.72221ad837a5bce62f4dfeba>