]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - test.c
Make divVerent happy about handling divison by zero/inf/nan and negitive versions...
[xonotic/gmqcc.git] / test.c
diff --git a/test.c b/test.c
index 75f7b3b3470783b63ec53b5e628d9d5e52fa28fb..c937d7f8de074b1647bf5fc5acdfec9ca8c79a00 100644 (file)
--- a/test.c
+++ b/test.c
@@ -20,7 +20,7 @@
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  * SOFTWARE.
  */
-#define GMQCC_PLATFORM_HEADER
+#define GMQCC_PLATFORM_HEADER /* TODO: eliminate! */
 #include <stdlib.h>
 #include <string.h>
 
@@ -152,6 +152,7 @@ static int task_pclose(fs_file_t **handles) {
     return status;
 }
 #else
+    #include <sys/stat.h>
     typedef struct {
         fs_file_t *handles[3];
         char       name_err[L_tmpnam];