Browse Source

sparse_bsearch: fixed the no ssize_t defined error.

Riceball LEE 13 years ago
parent
commit
add31d826b
1 changed files with 1 additions and 0 deletions
  1. 1 0
      ccan/sparse_bsearch/sparse_bsearch.c

+ 1 - 0
ccan/sparse_bsearch/sparse_bsearch.c

@@ -1,4 +1,5 @@
 /* Licensed under LGPLv2+ - see LICENSE file for details */
+#include <sys/types.h> //for ssize_t definition
 #include "sparse_bsearch.h"
 
 void *_sparse_bsearch(const void *key, const void *base,