diff options
Diffstat (limited to 'dynotify.c')
-rw-r--r-- | dynotify.c | 18 |
1 files changed, 8 insertions, 10 deletions
@@ -24,16 +24,14 @@ // misc: // /usr/lib/pkgconfig/libnotify.pc -#include<stdlib.h> -#include<string.h> -#include<stdbool.h> -#include<unistd.h> -// MIT -#include<curl/curl.h> -// MIT -#include<json-c/json.h> -// LGPL2 -#include<libnotify/notify.h> +#include<stdio.h> // for sprintf +#include<stdbool.h> // for bool +#include<stdlib.h> // for realloc +#include<string.h> // for memcpy +#include<unistd.h> // for sleep +#include<curl/curl.h> // MIT +#include<json-c/json.h> // MIT +#include<libnotify/notify.h> //LGPL #define DYROOM_ID_LEN 9 // utf-8 most chinese characters 3 bytes, my longest name currently is 2 chinese characters, 2*3=6, +1 for \0 |