projects
/
oweals
/
opkg-lede.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix potential undefined references to FILE, for libopkg users.
[oweals/opkg-lede.git]
/
libopkg
/
xregex.c
diff --git
a/libopkg/xregex.c
b/libopkg/xregex.c
index 639e3efb71af29fd90ecaf202282b40a3030f841..f682d4ca77df67434923473b408d149bfe5f8393 100644
(file)
--- a/
libopkg/xregex.c
+++ b/
libopkg/xregex.c
@@
-15,8
+15,6
@@
GNU General Public License for more details.
*/
-#include "includes.h"
-
#include "xregex.h"
#include "libbb/libbb.h"
@@
-37,7
+35,7
@@
static void print_regcomp_err(const regex_t *preg, int err)
{
unsigned int size;
char *error;
-
+
size = regerror(err, preg, 0, 0);
error = xcalloc(1, size);
regerror(err, preg, error, size);