mirror of
https://github.com/ohwgiles/laminar.git
synced 2024-10-27 20:34:20 +00:00
add uint typedef
Needed for musl
This commit is contained in:
parent
1642899159
commit
7b418a546c
@ -28,6 +28,9 @@
|
|||||||
#define EXIT_OPERATION_FAILED 2
|
#define EXIT_OPERATION_FAILED 2
|
||||||
#define EXIT_RUN_FAILED 3
|
#define EXIT_RUN_FAILED 3
|
||||||
|
|
||||||
|
// Definition needed for musl
|
||||||
|
typedef unsigned int uint;
|
||||||
|
|
||||||
template<typename T>
|
template<typename T>
|
||||||
static int setParams(int argc, char** argv, T& request) {
|
static int setParams(int argc, char** argv, T& request) {
|
||||||
int n = 0;
|
int n = 0;
|
||||||
|
@ -22,6 +22,10 @@
|
|||||||
#include <string>
|
#include <string>
|
||||||
#include <functional>
|
#include <functional>
|
||||||
|
|
||||||
|
// Definition needed for musl
|
||||||
|
typedef unsigned int uint;
|
||||||
|
typedef unsigned long ulong;
|
||||||
|
|
||||||
struct sqlite3;
|
struct sqlite3;
|
||||||
struct sqlite3_stmt;
|
struct sqlite3_stmt;
|
||||||
|
|
||||||
|
@ -29,6 +29,9 @@
|
|||||||
#include <kj/async.h>
|
#include <kj/async.h>
|
||||||
#include <kj/filesystem.h>
|
#include <kj/filesystem.h>
|
||||||
|
|
||||||
|
// Definition needed for musl
|
||||||
|
typedef unsigned int uint;
|
||||||
|
|
||||||
enum class RunState {
|
enum class RunState {
|
||||||
UNKNOWN,
|
UNKNOWN,
|
||||||
PENDING,
|
PENDING,
|
||||||
|
@ -29,9 +29,9 @@
|
|||||||
#include <kj/async-unix.h>
|
#include <kj/async-unix.h>
|
||||||
#include <kj/threadlocal.h>
|
#include <kj/threadlocal.h>
|
||||||
|
|
||||||
|
#include <signal.h>
|
||||||
#include <sys/eventfd.h>
|
#include <sys/eventfd.h>
|
||||||
#include <sys/inotify.h>
|
#include <sys/inotify.h>
|
||||||
#include <sys/signal.h>
|
|
||||||
#include <sys/signalfd.h>
|
#include <sys/signalfd.h>
|
||||||
|
|
||||||
#include <rapidjson/document.h>
|
#include <rapidjson/document.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user