add uint typedef

Needed for musl
pull/101/head
Oliver Giles 5 years ago
parent 1642899159
commit 7b418a546c

@ -28,6 +28,9 @@
#define EXIT_OPERATION_FAILED 2
#define EXIT_RUN_FAILED 3
// Definition needed for musl
typedef unsigned int uint;
template<typename T>
static int setParams(int argc, char** argv, T& request) {
int n = 0;

@ -22,6 +22,10 @@
#include <string>
#include <functional>
// Definition needed for musl
typedef unsigned int uint;
typedef unsigned long ulong;
struct sqlite3;
struct sqlite3_stmt;

@ -29,6 +29,9 @@
#include <kj/async.h>
#include <kj/filesystem.h>
// Definition needed for musl
typedef unsigned int uint;
enum class RunState {
UNKNOWN,
PENDING,

@ -29,9 +29,9 @@
#include <kj/async-unix.h>
#include <kj/threadlocal.h>
#include <signal.h>
#include <sys/eventfd.h>
#include <sys/inotify.h>
#include <sys/signal.h>
#include <sys/signalfd.h>
#include <rapidjson/document.h>

Loading…
Cancel
Save