core: add the kernel uapi header to the repository
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Wed, 6 Jan 2021 07:20:00 +0000 (08:20 +0100)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Tue, 19 Jan 2021 09:49:36 +0000 (10:49 +0100)
commit38d92cc7a68028876df9edaecc50dfca28858914
tree767ead036ef36ce9268b224fa8a608c1741de0f0
parent28890f7623cd888ec9913aefab0fee2feb43dc85
core: add the kernel uapi header to the repository

In order to avoid any problems with symbols missing from the host linux
kernel headers (for example: if current version of libgpiod supports
features that were added recently to the kernel but the host headers are
outdated and don't export required symbols) let's add the uapi header to
the repository and include it instead of the one in /usr/include/linux.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
configure.ac
lib/Makefile.am
lib/core.c
lib/uapi/gpio.h [new file with mode: 0644]