Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37775329
en ru br
ALT Linux repositórios
S:1.4.3-alt3_25

Group :: Sistema/Bibliotecas
RPM: libst2205

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: libst2205-c99.patch
Download


Include <fcntl.h> instead of <asm/fcntl.h> for the open function.
This avoids an implicit function declaration, increasing compatibility
with future compilers which are like to reject such declarations by
default.
NB: Now needs -D_GNU_SOURCE for the definition of O_DIRECT.
diff --git a/libst2205/st2205.c b/libst2205/st2205.c
index 898c8f75c3080c38..5202bca1a3067afd 100644
--- a/libst2205/st2205.c
+++ b/libst2205/st2205.c
@@ -26,7 +26,7 @@
 #include <unistd.h>
 #include <stdio.h>
 #include <stdlib.h>
-#include <asm/fcntl.h>
+#include <fcntl.h>
 #include "st2205.h"
 
 #define BUFF_SIZE 0x10000
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009