LCDproc development and user support list

Text archives Help


[Lcdproc] [PATCH] mtc_s16209x.c: Add missing header file


Chronological Thread 
  • From: harald at ccbib.org (Harald Geyer)
  • Subject: [Lcdproc] [PATCH] mtc_s16209x.c: Add missing header file
  • Date: Fri, 06 Nov 2015 20:17:40 +0100

This driver uses flock(2) und thus must include sys/file.h
---
This fix is part of an effort to make lcdproc compile for OpenWRT again
and update the lcdproc package there.

server/drivers/mtc_s16209x.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/server/drivers/mtc_s16209x.c b/server/drivers/mtc_s16209x.c
index 55e48e7..fda30f8 100644
--- a/server/drivers/mtc_s16209x.c
+++ b/server/drivers/mtc_s16209x.c
@@ -49,6 +49,7 @@
#include <fcntl.h>
#include <string.h>
#include <errno.h>
+#include <sys/file.h>

#ifdef HAVE_CONFIG_H
# include "config.h"
--
2.1.4




  • [Lcdproc] [PATCH] mtc_s16209x.c: Add missing header file, Harald Geyer, 11/06/2015

Archive powered by MHonArc 2.6.18.

Top of page