diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2020-12-05 03:33:44 +0300 |
---|---|---|
committer | Angel Pons <th3fanbus@gmail.com> | 2021-02-07 15:24:51 +0000 |
commit | d870a35de7aef0940838da6b8e5ddd798940e7ee (patch) | |
tree | 0c9cf2be42001d5f0afd5f3acdd5b4fd29474073 | |
parent | a2f2f3f5ee1bb9c953f098f019c3ad09657cba38 (diff) | |
download | flashrom-d870a35de7aef0940838da6b8e5ddd798940e7ee.tar.gz flashrom-d870a35de7aef0940838da6b8e5ddd798940e7ee.tar.bz2 flashrom-d870a35de7aef0940838da6b8e5ddd798940e7ee.zip |
Fix building with musl libc
AFAIK, this shouldn't break anything, as glibc just includes fcntl.h
from sys/fcntl.h.
Change-Id: Ie74ae584619ae8cbc188855aedcf5596d7afcfc8
Signed-off-by: Evgeny Zinoviev <me@ch1p.io>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/48314
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
-rw-r--r-- | i2c_helper_linux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/i2c_helper_linux.c b/i2c_helper_linux.c index 0703518a7..5c191f92e 100644 --- a/i2c_helper_linux.c +++ b/i2c_helper_linux.c @@ -17,7 +17,7 @@ #include <errno.h> #include <stdio.h> #include <string.h> -#include <sys/fcntl.h> +#include <fcntl.h> #include <sys/ioctl.h> #include <unistd.h> |