aboutsummaryrefslogtreecommitdiff
path: root/src/core/file.c
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2025-10-11 06:50:54 -0700
committerGarrett D'Amore <garrett@damore.org>2025-10-11 06:50:54 -0700
commit2f24a1b1c93b8c45dce391ed0439131f9ad8cf28 (patch)
tree51065064cec7f35b900291fb2a101b7dbe3b6826 /src/core/file.c
parentb98e03b26bfc593326bd7c1d56fd69626f6a93cb (diff)
downloadnng-2f24a1b1c93b8c45dce391ed0439131f9ad8cf28.tar.gz
nng-2f24a1b1c93b8c45dce391ed0439131f9ad8cf28.tar.bz2
nng-2f24a1b1c93b8c45dce391ed0439131f9ad8cf28.zip
fix includes for core
Diffstat (limited to 'src/core/file.c')
-rw-r--r--src/core/file.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/file.c b/src/core/file.c
index 173a864d..8957a940 100644
--- a/src/core/file.c
+++ b/src/core/file.c
@@ -8,7 +8,9 @@
// found online at https://opensource.org/licenses/MIT.
//
-#include "core/nng_impl.h"
+#include "file.h"
+#include "defs.h"
+#include "platform.h"
int
nni_file_put(const char *name, const void *data, size_t sz)
@@ -50,7 +52,7 @@ nni_file_is_dir(const char *name)
struct walkdata {
nni_file_walker fn;
- void * arg;
+ void *arg;
};
static int