diff options
author | Daniel Silverstone <dsilvers@digital-scurf.org> | 2016-09-27 12:15:02 +0100 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2016-09-27 12:15:02 +0100 |
commit | 925df02c831eaef61c62b95097994d8b8c222af9 (patch) | |
tree | 192f7d8db63b50c0e282cea2422936cb4b4e6846 | |
parent | 274f326f3b9b25cbea9b11a0dce469636c08b462 (diff) | |
download | luxio-925df02c831eaef61c62b95097994d8b8c222af9.tar.gz |
If a platform has DT_UNKNOWN, turn on D_TYPE
-rw-r--r-- | config.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -37,5 +37,13 @@ /* MINIX does not have this */ # define IFNAMSIZ 128 #endif + +/* Some platforms have DT_* anyway, expose them if present */ +#ifndef HAVE_D_TYPE +#ifdef DT_UNKNOWN +#define HAVE_D_TYPE +#endif +#endif + #endif /* LUXIO_CONFIG_H */ |