Skip to content
Snippets Groups Projects
Commit 960579a5 authored by Chocimier's avatar Chocimier
Browse files

libuuid: make it build

parent a57a25da
No related branches found
No related tags found
1 merge request!350add apache-httpd
#TODO can't recognize Redox target
[source]
tar = "https://sourceforge.net/projects/libuuid/files/libuuid-1.0.3.tar.gz/download"
patches = [
"redox.patch"
]
[build]
template = "configure"
diff --git a/config.sub b/config.sub
index 52f04bc..4a352eb 100755
--- a/config.sub
+++ b/config.sub
@@ -1376,7 +1376,7 @@ case $os in
| -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
| -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
| -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
- | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
+ | -skyos* | -haiku* | -rdos* | -redox* | -toppers* | -drops* | -es*)
# Remember, each alternative MUST END IN *, to match a version number.
;;
-qnx*)
diff --git a/randutils.c b/randutils.c
index 80893d3..a39168d 100644
--- a/randutils.c
+++ b/randutils.c
@@ -13,7 +13,7 @@
#include <string.h>
#include <sys/time.h>
-#include <sys/syscall.h>
+// #include <sys/syscall.h>
#include "randutils.h"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment