Evgeny Zinoviev has uploaded this change for review.

View Change

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>
---
M i2c_helper_linux.c
1 file changed, 1 insertion(+), 1 deletion(-)

git pull ssh://review.coreboot.org:29418/flashrom refs/changes/14/48314/1
diff --git a/i2c_helper_linux.c b/i2c_helper_linux.c
index 0703518..5c191f9 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>


To view, visit change 48314. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: Ie74ae584619ae8cbc188855aedcf5596d7afcfc8
Gerrit-Change-Number: 48314
Gerrit-PatchSet: 1
Gerrit-Owner: Evgeny Zinoviev <me@ch1p.io>
Gerrit-MessageType: newchange