Skip to content

Commit

Permalink
feat: Fix up missing header
Browse files Browse the repository at this point in the history
  • Loading branch information
feelfreelinux committed Sep 21, 2024
1 parent 364ee8b commit 073b901
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ioctlHook.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#include <stdlib.h>
#include <signal.h>
#include <unistd.h>
#include <sys/ioctl.h>

int g_obvio=0;
#define DPRINTF(format, args...) if (!g_obvio) { g_obvio=1; fprintf(stderr, format, ## args); g_obvio=0; }
Expand All @@ -20,7 +21,7 @@ int g_obvio=0;

#define REAL_LIBC RTLD_NEXT
#define request_t int
#define TIOCMBIS 0x5416
// #define TIOCMBIS 0x5416

static char fifoPath[] = "/home/octoprint/eventPipe";
static char eventJsonStart[] = "{\"eventType\": \"";
Expand Down

0 comments on commit 073b901

Please sign in to comment.