]> git.rm.cloudns.org Git - xonotic/d0_blind_id.git/commitdiff
decl fixes
authorRudolf Polzer <divverent@alientrap.org>
Sun, 25 Apr 2010 16:47:49 +0000 (18:47 +0200)
committerRudolf Polzer <divverent@alientrap.org>
Sun, 25 Apr 2010 16:47:49 +0000 (18:47 +0200)
d0.h
main.c

diff --git a/d0.h b/d0.h
index 270cc8ba8e98545c1de9d6c99f9b95c785626ffc..db7555d98fba9c3c4469026c3ba36b8bb0622aa5 100644 (file)
--- a/d0.h
+++ b/d0.h
@@ -1,7 +1,7 @@
 #ifndef __D0_H__
 #define __D0_H__
 
-#include <stdlib.h> // size_t
+#include <unistd.h> // size_t
 
 #define EXPORT __attribute__((__visibility__("default")))
 #define WARN_UNUSED_RESULT __attribute__((warn_unused_result))
diff --git a/main.c b/main.c
index 1a649a20e6bb775b66113d0266f42103a58cab70..28100033aafc80bbf5df2256d328a6892fe6b7f1 100644 (file)
--- a/main.c
+++ b/main.c
@@ -22,6 +22,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 #include <stdio.h>
 #include <string.h>
 #include <time.h>
+#include <sys/time.h>
 
 void bench(double *b)
 {