diff options
| author | Jeffrey Armstrong <jeffrey.armstrong@approximatrix.com> | 2014-03-02 13:53:33 -0500 |
|---|---|---|
| committer | Jeffrey Armstrong <jeffrey.armstrong@approximatrix.com> | 2014-03-02 13:53:33 -0500 |
| commit | 9155a365e1e0a7e9fec47447f86af09117b30edb (patch) | |
| tree | 6c54cfee6f4784aa777cef186dbca9aa1f856efd /util.c | |
| parent | ffe739eeb12d1bf9dadb2144e95fef79820c6844 (diff) | |
| download | prism-9155a365e1e0a7e9fec47447f86af09117b30edb.tar.gz prism-9155a365e1e0a7e9fec47447f86af09117b30edb.zip | |
Added support for building with GNU C (Linux, etc.). Fixed minor bugs in diff routine.
Diffstat (limited to 'util.c')
| -rw-r--r-- | util.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -4,10 +4,13 @@ #include <stdio.h>
#include <stdlib.h>
-#include <sys\types.h>
-#include <direct.h>
+#include <sys/types.h>
#include <string.h>
+#ifndef __GNUC__
+#include <direct.h>
+#endif
+
#include "prism.h"
char *alloc_and_combine_paths(char *p1, char *p2)
|
