summaryrefslogtreecommitdiff
path: root/src/linux/platform.c
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrik.ramaekers@protonmail.com>2020-03-02 12:28:21 +0100
committerAldrik Ramaekers <aldrik.ramaekers@protonmail.com>2020-03-02 12:28:21 +0100
commitbbeed51154a8a3782fe50ba9c7d57b13fbaa0bf4 (patch)
tree09bf4f01ac67e3f8b7d7b4dbfdf67578ac0f63e6 /src/linux/platform.c
parentb80f0d0a9c5d9ec48ce4919ad45786a73977e892 (diff)
improvements
Diffstat (limited to 'src/linux/platform.c')
-rw-r--r--src/linux/platform.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/linux/platform.c b/src/linux/platform.c
index eb3b8bf..0f2320d 100644
--- a/src/linux/platform.c
+++ b/src/linux/platform.c
@@ -21,9 +21,9 @@
#include <sys/stat.h>
#include <sys/mman.h>
#include <X11/cursorfont.h>
-#include <curl/curl.h>
-#include <ifaddrs.h>
-#include <netpacket/packet.h>
+//#include <curl/curl.h>
+//#include <ifaddrs.h>
+//#include <netpacket/packet.h>
#define GET_ATOM(X) window.X = XInternAtom(window.display, #X, False)
@@ -1606,6 +1606,7 @@ void platform_set_icon(platform_window *window, image *img)
(unsigned char *)data, nelements);
}
+#if 0
uint write_cb(char *in, uint size, uint nmemb, char *buffer)
{
string_appendn(buffer, in, MAX_INPUT_LENGTH);
@@ -1665,4 +1666,5 @@ bool platform_get_mac_address(char *buffer, s32 buf_size)
}
return false;
-} \ No newline at end of file
+}
+#endif \ No newline at end of file