summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/filesystem.c8
-rw-r--r--src/util.c1
2 files changed, 0 insertions, 9 deletions
diff --git a/src/filesystem.c b/src/filesystem.c
index 2785cca..5e44937 100644
--- a/src/filesystem.c
+++ b/src/filesystem.c
@@ -14,14 +14,6 @@
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#define _POSIX_C_SOURCE 200809L /* for fileno */
-#define _BSD_SOURCE 1 /* for realpath, symlink */
-#define _DEFAULT_SOURCE 1 /* for realpath, symlink */
-
-#ifdef __APPLE__
-# define _DARWIN_C_SOURCE 1 /* for flock */
-#endif
-
#include "filesystem.h"
#include "lilv_config.h"
#include "lilv_internal.h"
diff --git a/src/util.c b/src/util.c
index 92f72b9..b2b4057 100644
--- a/src/util.c
+++ b/src/util.c
@@ -21,7 +21,6 @@
#include "serd/serd.h"
#include <sys/stat.h>
-#include <sys/types.h>
#include <ctype.h>
#include <errno.h>