i'm about to fix everything i think
Squashed commit of the following:

commit 74fab260358ad58b0419947fce36e822eba07eea
Merge: 71e9a40 e4aa7c5
Author: Alex Nichol <unixpickle@gmail.com>
Date:   Mon Mar 10 20:49:39 2014 -0400

    Merge branch 'master' of github.com:unixpickle/anidxset

commit 71e9a404fa7e5a4f321a9b45957e0c471ec5936a
Author: Alex Nichol <unixpickle@gmail.com>
Date:   Mon Mar 10 20:49:28 2014 -0400

    uses CFLAGS

commit e4aa7c5389b8e64d0a4434bdeca4c4a38898df1c
Author: Alex Nichol <unixpickle@gmail.com>
Date:   Thu Mar 6 12:28:28 2014 -0500

    added header conditional

commit 57b1762c7ee171f4b93a2bdca1b6675ba98db2db
Author: Alex Nichol <unixpickle@gmail.com>
Date:   Wed Mar 5 18:41:37 2014 -0500

    fixed leaks and added free()

commit fce05b81cbd2b36bbaa3f381d6fa129dbf86729e
Author: Alex Nichol <unixpickle@gmail.com>
Date:   Wed Mar 5 17:19:10 2014 -0500

    use #define for hex values

commit 3ee455a554648064bd66c43097497514f520a05d
Author: Alex Nichol <unixpickle@gmail.com>
Date:   Wed Mar 5 17:10:06 2014 -0500

    tests pass

commit 8eb8e24ebd7e76517376f081cf53f174a8a22a7a
Author: Alex Nichol <unixpickle@gmail.com>
Date:   Wed Mar 5 14:28:57 2014 -0500

    added main source
Squashed commit of the following:

commit 2e849ef7decf0251df0c564d93f10fbd5d01427b
Author: Alex Nichol <unixpickle@gmail.com>
Date:   Mon Mar 10 20:47:56 2014 -0400

    obey CFLAGS

commit f0671b7cbfd0c6414ffa5b3372074ceaf3737a93
Author: Alex Nichol <unixpickle@gmail.com>
Date:   Sat Mar 1 00:02:17 2014 -0500

    added readme

commit 90c52a22414ab226d9e99c08a34e157511c1049f
Author: Alex Nichol <unixpickle@gmail.com>
Date:   Fri Feb 28 23:58:19 2014 -0500

    all tests pass

commit 726bac0bcd7af4599fb8aa491b7eb5cd94b2ab7e
Author: Alex Nichol <unixpickle@gmail.com>
Date:   Fri Feb 28 23:18:04 2014 -0500

    it compiles

commit 832cea3621d82a76596cf19631eac89d33b05941
Author: Alex Nichol <unixpickle@gmail.com>
Date:   Fri Feb 28 23:05:28 2014 -0500

    first commit
Squashed commit of the following:

commit 9a14a68faef45d6f975c483d25fde9040964db74
Author: Alex Nichol <unixpickle@gmail.com>
Date:   Mon Mar 10 20:46:28 2014 -0400

    uses CFLAGS

commit 6216d2bd46c4cb8d828c87b79a274a02fda04262
Author: Alex Nichol <unixpickle@gmail.com>
Date:   Sat Mar 1 17:15:54 2014 -0500

    added readme and stuff

commit ce106256a8e7717978932206f393180edf62988c
Author: Alex Nichol <unixpickle@gmail.com>
Date:   Sat Mar 1 16:51:40 2014 -0500

    reduce code size

commit 8c1eec693b1f6411d79a39fa43d108275fd900c7
Author: Alex Nichol <unixpickle@gmail.com>
Date:   Sat Mar 1 16:49:22 2014 -0500

    test passes, it works nicely!
no redzone for libraries; issue still occurs
added missing debug sources