Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | util: move #include out of #if linux | Eric Engestrom | 2019-05-01 | 1 | -1/+1 |
| | | | | | | | | | This #include is needed for `NULL`, which is used on all OSes, not just Linux. Reported-by: Juan A. Suarez Romero <[email protected]> Fixes: 316964709e21286c2af5 "util: add os_read_file() helper" Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Juan A. Suarez <[email protected]> | ||||
* | util: add os_read_file() helper | Eric Engestrom | 2019-04-30 | 1 | -0/+129 |
readN() taken from igt. os_read_file() inspired by igt_sysfs_get() Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]> |