LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File reportlab-missing-includes.patch of Package python-reportlab (Project spins:invis)

Index: src/rl_addons/renderPM/gt1/gt1-namecontext.c
===================================================================
--- src/rl_addons/renderPM/gt1/gt1-namecontext.c.orig
+++ src/rl_addons/renderPM/gt1/gt1-namecontext.c
@@ -1,6 +1,10 @@
 /* A module for a simple "name context", i.e. lisp-style atoms */
 
 #include "gt1-misc.h"
+#include <string.h>
+#include <stdio.h>
+#include <unistd.h>
+#include <sys/socket.h>
 
 #include "gt1-namecontext.h"
 #if defined(_WIN32) || defined(macintosh)