Skip to content

Commit

Permalink
Move include to proper file.
Browse files Browse the repository at this point in the history
  • Loading branch information
yugr committed Dec 22, 2024
1 parent c13c7de commit b483f77
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/proc_info.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
#include <assert.h>
#include <errno.h>

#include <libgen.h>

static char *read_field(char **p) {
// Skip leading whites
char *res = *p;
Expand Down
1 change: 0 additions & 1 deletion src/sortchecker.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ EXPORT int dlclose(void *handle);
#include <syslog.h>
#include <sys/types.h>
#include <unistd.h>
#include <libgen.h>

// We can't include stdlib.h because on some platforms
// it defines macro for APIs below
Expand Down

0 comments on commit b483f77

Please sign in to comment.