summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2010-05-20 15:53:17 +0200
committerAndreas Baumann <abaumann@yahoo.com>2010-05-20 15:53:17 +0200
commit82c2b858633c9992ce7560a0b21f37329904a300 (patch)
tree6b806437ba79044cb3f5df11effa87314dc9beaf /include
parenteb26859dbd0240789ee8c5c02a65d784e664987a (diff)
downloadwolfbones-82c2b858633c9992ce7560a0b21f37329904a300.tar.gz
wolfbones-82c2b858633c9992ce7560a0b21f37329904a300.tar.bz2
got to first error message on Windows (library loader)
Diffstat (limited to 'include')
-rw-r--r--include/GNUmakefile4
-rw-r--r--include/Makefile.W3210
-rw-r--r--include/wolf/errors.h2
-rw-r--r--include/wolf/library/loader.h2
4 files changed, 14 insertions, 4 deletions
diff --git a/include/GNUmakefile b/include/GNUmakefile
index e7c40c2..2d1dcbd 100644
--- a/include/GNUmakefile
+++ b/include/GNUmakefile
@@ -13,6 +13,8 @@ local_clean:
-@rm -f wolf/log/*~
-@rm -f wolf/daemon/*.bak
-@rm -f wolf/daemon/*~
+ -@rm -f wolf/library/*.bak
+ -@rm -f wolf/library/*~
local_install:
$(INSTALL) -d -m 755 $(includedir)/wolf
@@ -23,3 +25,5 @@ local_install:
$(INSTALL) -m 644 wolf/log/*.h $(includedir)/wolf/log
$(INSTALL) -d -m 755 $(includedir)/wolf/daemon
$(INSTALL) -m 644 wolf/daemon/*.h $(includedir)/wolf/daemon
+ $(INSTALL) -d -m 755 $(includedir)/wolf/library
+ $(INSTALL) -m 644 wolf/daemon/*.h $(includedir)/wolf/library
diff --git a/include/Makefile.W32 b/include/Makefile.W32
index ff4b18e..61bff47 100644
--- a/include/Makefile.W32
+++ b/include/Makefile.W32
@@ -9,8 +9,12 @@ local_clean:
@-erase wolf\*~ 2>NUL
@-erase wolf\port\*.bak 2>NUL
@-erase wolf\port\*~ 2>NUL
- @-erase wolf\daemon\*.bak 2>NUL
- @-erase wolf\daemon\*~ 2>NUL
+ @-erase wolf\log\*.bak 2>NUL
+ @-erase wolf\log\*~ 2>NUL
+ @-erase wolf\service\*.bak 2>NUL
+ @-erase wolf\service\*~ 2>NUL
+ @-erase wolf\library\*.bak 2>NUL
+ @-erase wolf\library\*~ 2>NUL
local_distclean:
@@ -23,3 +27,5 @@ local_test:
# $(INSTALL) -m 644 wolf/daemon/*.h $(includedir)/wolf/daemon
# $(INSTALL) -d -m 755 $(includedir)/wolf/port
# $(INSTALL) -m 644 wolf/port/*.h $(includedir)/wolf/port
+# $(INSTALL) -d -m 755 $(includedir)/wolf/library
+# $(INSTALL) -m 644 wolf/daemon/*.h $(includedir)/wolf/library
diff --git a/include/wolf/errors.h b/include/wolf/errors.h
index 0b14356..96b6e2f 100644
--- a/include/wolf/errors.h
+++ b/include/wolf/errors.h
@@ -33,7 +33,7 @@
extern "C" {
#endif
-#include <sys/types.h> /* for size_t */
+#include <stddef.h> /* for size_t */
/**
* @brief Possible error codes of the various libwolf libraries.
diff --git a/include/wolf/library/loader.h b/include/wolf/library/loader.h
index 2218677..76cf5ee 100644
--- a/include/wolf/library/loader.h
+++ b/include/wolf/library/loader.h
@@ -36,7 +36,7 @@ extern "C" {
#include "port/sys.h"
#include "errors.h"
-#include <sys/types.h> /* for size_t */
+#include <stddef.h> /* for size_t */
/* @brief handle representing a shared library
*/