summaryrefslogtreecommitdiff
path: root/graphics/gliv/files/patch-lib__getdelim.c
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/gliv/files/patch-lib__getdelim.c')
-rw-r--r--graphics/gliv/files/patch-lib__getdelim.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/graphics/gliv/files/patch-lib__getdelim.c b/graphics/gliv/files/patch-lib__getdelim.c
new file mode 100644
index 000000000000..c9609ecddbff
--- /dev/null
+++ b/graphics/gliv/files/patch-lib__getdelim.c
@@ -0,0 +1,17 @@
+--- lib/getdelim.c.orig Thu Jul 7 03:46:17 2005
++++ lib/getdelim.c Mon Mar 20 12:42:53 2006
+@@ -7,8 +7,12 @@
+ * Dedicated to Toni. See uClibc/DEDICATION.mjn3 for details.
+ */
+
+-#include "stdio.h"
+-#include "stdlib.h"
++#include <stdio.h>
++#include <stdlib.h>
++
++#ifndef HAVE_GETDELIM
++#include "getdelim.h"
++#endif
+
+ /* Note: There is a defect in this function. (size_t vs ssize_t). */
+