package/rsyslog: fix musl buil
authorBernd Kuhls <bernd.kuhls@t-online.de>
Fri, 5 Feb 2016 21:18:25 +0000 (22:18 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 5 Feb 2016 22:09:11 +0000 (23:09 +0100)
commit561c43d8323575296a31a4e54c9966ced730c54a
treeb4bf4dcc79db9ed37365781cd930e5ea71e268f6
parentade46eea1bf0f80dc9300f7080c8fff35dac225e
package/rsyslog: fix musl buil

The build error was not yet being found by the autobuilders:

omfile.c: In function ‘prepareFile’:
omfile.c:580:3: error: implicit declaration of function ‘open’ [-Werror=implicit-function-declaration]
   fd = open((char*) newFileName, O_WRONLY|O_APPEND|O_CREAT|O_NOCTTY|O_CLOEXEC,
   ^

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/rsyslog/0001-musl-fcntl-h.patch [new file with mode: 0644]