LuK1337 changed the topic of #titandev to: Loliés! | *yiff* | https://libera.irclog.whitequark.org/titandev
_whitelogger has joined #titandev
_whitelogger has joined #titandev
_whitelogger has joined #titandev
_whitelogger has joined #titandev
<luca020400> hanetzer: welcome back to sanity
_whitelogger has joined #titandev
_whitelogger has joined #titandev
_whitelogger has joined #titandev
_whitelogger has joined #titandev
<whitekidney> i've gotta say google messages is a bit retarded
<whitekidney> they advertise their antispam pretty heavily and how it should solve annoyances
<whitekidney> and then they proceed to give me a notification that a spam SMS has been 'blocked'
<whitekidney> ?????
<LuK1337> what if it was false positive
<whitekidney> fortunately i've never had false positives so far, but i couldn't care less, nobody uses SMS anymore
<luca020400> they usually notify you when they aren't sure it's spam
_whitelogger has joined #titandev
cehteh has quit [Ping timeout: 252 seconds]
cehteh has joined #titandev
<LuK1337> luca020400: do you have timespec struct definition in <sys/time.h>?
<luca020400> android?
<LuK1337> linux
<LuK1337> i was building op9pro kernel and i had to hack one include file
<LuK1337> to use linux/time.h
<LuK1337> instead of sys/time.h
<LuK1337> because otherwise it'd complain about incomplete timespec struct
<luca020400> ah linux kernel
<luca020400> sys included linux
<luca020400> so not sure how it happens
<LuK1337> on arch?
<LuK1337> grep time.h /usr/include/sys/time.h
<LuK1337> i don't have linux/time.h include there
<luca020400> well on android that's how it works
<luca020400> nut sure libc
<LuK1337> yes i noticed that this is what bionic does
<LuK1337> but this isn't what i have in my fedora headers
<LuK1337> so i'm wondering how it's supposed to work
<luca020400> bits/types/struct_timespec.h
<luca020400> it lives there
<luca020400> and it's included in sys/time.
<luca020400> h
<LuK1337> it's included for you?
<LuK1337> can you gist your sys/time.h?
<luca020400> ah hold on
<luca020400> ok no it isn't
<luca020400> I opened time.h
<luca020400> instead of sys/
<luca020400> from what I see the struct shouldn't be defined in sys/time.h
<luca020400> generally
<LuK1337> ok but then include/uapi/linux/videodev2.h
<LuK1337> uses timespec struct
<LuK1337> so where is it supposed to get it from
<luca020400> ah
<luca020400> what
<LuK1337> actually
<LuK1337> i kinda know what happens
<LuK1337> ./include/linux/videodev2.h includes time
<luca020400> /usr/include/bits/types/struct_timespec.h
<LuK1337> but when techpack display includes it
<luca020400> ends up being included here
<LuK1337> it uses uapi header instea
<LuK1337> instead
<LuK1337> which kinda makes sense i guess?
<LuK1337> but still idk how to actually fix it
<luca020400> sys/time.h > sys/select.h > bits/types/struct_timespec.h
<LuK1337> #ifdef __USE_XOPEN2K
<LuK1337> # include <bits/types/struct_timespec.h>
<LuK1337> #endif
<LuK1337> sorry but what is
<LuK1337> __USE_XOPEN2K
<luca020400> I checked clang post-processed c file
<LuK1337> do you have that __USE_XOPEN2K ifdef check too?
<luca020400> file?
<LuK1337> /usr/include/sys/select.h
<luca020400> I do
<luca020400> what is this thing
<LuK1337> uh
<LuK1337> sounds like it won't be set for clang?
<luca020400> it's solaric iso
<luca020400> lol
<luca020400> solaris*
<luca020400> I have the same expand rules in clang/gcc
_whitelogger has joined #titandev
_whitelogger has joined #titandev
_whitelogger has joined #titandev
_whitelogger has joined #titandev