# Need to include one file multiple times, how to avoid warning

**URL:** https://discourse.julialang.org/t/need-to-include-one-file-multiple-times-how-to-avoid-warning/27439
**Category:** General Usage
**Tags:** question
**Created:** [August 12, 2019, 1:55am UTC](https://discourse.julialang.org/t/need-to-include-one-file-multiple-times-how-to-avoid-warning/27439 "2019-08-12T01:55:44Z")
**Posts on this page:** 1
**Showing post:** 8

<div class="post-metadata">

### Author: ![zhangliye](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/zhangliye/32/3208_2.png) [@zhangliye](https://discourse.julialang.org/u/zhangliye)
#### Post date: [August 12, 2019, 3:51am UTC](https://discourse.julialang.org/t/need-to-include-one-file-multiple-times-how-to-avoid-warning/27439/8 "2019-08-12T03:51:25Z")

</div>

In `utils.jl` I define some enum variables which is used in several files as follows

```julia
# utils.jl
@enum State waiting=1 started=2 arrived=3

```

It is not logically reasonable to put it in a separate module.

---

_[View the full topic](https://discourse.julialang.org/t/need-to-include-one-file-multiple-times-how-to-avoid-warning/27439)._
