summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2018-03-25 10:28:08 -0700
committerMichael Pavone <pavone@retrodev.com>2018-03-25 10:28:08 -0700
commit8ceb07b402ac2fb6de2e1b99f8fd80cafd042b96 (patch)
treee7d10f20b81c8472cece9e3d794d3576f5117107
parent371d5418e6b1bfba88b55382b0a1b91d97023ae5 (diff)
MSG_NOSIGNAL doesn't exist on all platforms
--HG-- branch : nuklear_ui
-rw-r--r--megawifi.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/megawifi.c b/megawifi.c
index a0adfba..00691f3 100644
--- a/megawifi.c
+++ b/megawifi.c
@@ -33,6 +33,10 @@ static const char *cmd_names[] = {
[255] = "CMD_ERROR"
};
+#ifndef MSG_NOSIGNAL
+#define MSG_NOSIGNAL 0
+#endif
+
enum {
STATE_IDLE=1,
STATE_AP_JOIN,