summaryrefslogtreecommitdiff
path: root/src/portal
diff options
context:
space:
mode:
authorAndrew Opalach <andrew@akon.city> 2026-08-26 15:08:16 -0400
committerAndrew Opalach <andrew@akon.city> 2026-08-26 15:08:16 -0400
commit6094c907b26e21f13373bae6bf3306dbae40af3c (patch)
tree981864ddb1ab9749d3e10a81edc782311826e101 /src/portal
parentda9bddc70ff8544f3294b880d719c4605e87ad97 (diff)
downloadcamu-6094c907b26e21f13373bae6bf3306dbae40af3c.tar.gz
camu-6094c907b26e21f13373bae6bf3306dbae40af3c.tar.bz2
camu-6094c907b26e21f13373bae6bf3306dbae40af3c.zip
Update deps, small changes and cleanup
Signed-off-by: Andrew Opalach <andrew@akon.city>
Diffstat (limited to 'src/portal')
-rw-r--r--src/portal/src/search.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/portal/src/search.c b/src/portal/src/search.c
index d442d94..7af4bea 100644
--- a/src/portal/src/search.c
+++ b/src/portal/src/search.c
@@ -3,6 +3,8 @@
#include "../../server/common.h"
+#undef _XOPEN_SOURCE
+#undef _POSIX_C_SOURCE
#include "../cpy/portal.c"
#include "search.h"
@@ -174,6 +176,7 @@ static void results_signal_callback(void *userdata)
}
// @TODO: Fully defer init.
+// - And fix init() -> (no close()) -> free() complications.
void camu_portal_init(struct camu_portal_bridge *bridge, struct camu_post_cache *cache,
struct nn_event_loop *loop, void *userdata)
{