Skip to content

Commit

Permalink
Merge pull request #520 from xambroz/patch-4
Browse files Browse the repository at this point in the history
move the include of time.h
  • Loading branch information
PartialVolume authored Nov 4, 2023
2 parents 4bf06d1 + 4747ce6 commit d14c3da
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/gui.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@
#define _DEFAULT_SOURCE
#endif

#include <time.h>

#ifndef _POSIX_SOURCE
#define _POSIX_SOURCE
#endif
Expand All @@ -42,7 +44,6 @@
#include <ncurses.h>
#include <panel.h>
#include <stdint.h>
#include <time.h>
#include <libconfig.h>
#include <string.h>
#include <strings.h>
Expand Down

0 comments on commit d14c3da

Please sign in to comment.