summaryrefslogtreecommitdiffstats
path: root/graphics/gliv/files/patch-lib__getdelim.c
blob: c9609ecddbff30d17c44d0b0c34acdef74c00dcd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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). */