]> granicus.if.org Git - graphviz/commitdiff
GTK plugin: remove unused unistd.h #includes
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 9 Apr 2022 04:24:35 +0000 (21:24 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 10 Apr 2022 17:14:09 +0000 (10:14 -0700)
Gitlab: #2204

plugin/gtk/gvdevice_gtk.c
plugin/gtk/interface.c

index c2dfc7967b3c19cd078ca6dd504cc6a0af0ed792..1b1838fc67888679680c1d8b7b4bf91fe7cf1f16 100644 (file)
@@ -12,9 +12,6 @@
 
 #include <stdbool.h>
 #include <stdint.h>
-#ifdef HAVE_UNISTD_H
-#include <unistd.h>
-#endif
 
 #include <gvc/gvplugin_device.h>
 
index 8ef5624e2c3a8514749557fdc245e6d5b793f64d..ea0a90929e120ba273618a1a5f34668a6ad8213a 100644 (file)
@@ -2,13 +2,8 @@
  * DO NOT EDIT THIS FILE - it is generated by Glade.
  */
 
-#include "config.h"
-
 #include <sys/types.h>
 #include <sys/stat.h>
-#ifdef HAVE_UNISTD_H 
-#include <unistd.h>
-#endif
 #include <string.h>
 #include <stdio.h>