         static let linked = FileEvents(rawValue: UInt32(NOTE_LINK))
         static let renamed = FileEvents(rawValue: UInt32(NOTE_RENAME))
         static let revoked = FileEvents(rawValue: UInt32(NOTE_REVOKE))
-        #endif
+//        #endif
         public typealias RawValue = u_int
         
         public var rawValue: UInt32

extension SXKernel {
    public func monitor(file: String, events: FileEvents, callback: @escaping (String, FileEvents) -> Bool) {
        
        #if os(Linux)
        let fd = inotify_init()
        _ = inotify_add_watch(fd, file, events.rawValue)
        var ev = epoll_event()
        ev.events = EPOLLOUT.rawValue | EPOLLIN.rawValue | EOILLET.rawValue
        ev.data.fd = fd
        epoll_ctl(kq, EPOLL_CTL_ADD, fd, &ev)
        #else
        let fd = open(file, O_RDONLY)
        var k = event(ident: UInt(fd),
                      filter: Int16(EVFILT_VNODE),

                      data: 0,
                      udata: nil)
            kevent(fd, &k, 1, nil, 0, nil)
//        #endif
        
        self.queues[fd] = FileEventHandler(path: file, ident: fd, callback: callback)
    
