summaryrefslogtreecommitdiff
path: root/src/packages.c
diff options
context:
space:
mode:
author諏訪子 <suwako@076.moe>2024-06-20 14:58:37 +0900
committer諏訪子 <suwako@076.moe>2024-06-20 14:58:37 +0900
commitc422e00ebe2d308f08309aaff153d3d780322544 (patch)
tree149903ce6369703c0ec47db74214aa287b7a1e47 /src/packages.c
parent23ec77e8574e39c13b44efd6f43e7804ce2aa9ed (diff)
Illumos: コンパイルの問題の解決
Diffstat (limited to 'src/packages.c')
-rw-r--r--src/packages.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/packages.c b/src/packages.c
index 73c0400..e2bbfb6 100644
--- a/src/packages.c
+++ b/src/packages.c
@@ -5,6 +5,8 @@
#include <unistd.h>
#include "distro.h"
+#elif defined(__sun)
+#include <stdio.h>
#endif
const char *display_packages() {
@@ -24,5 +26,7 @@ const char *display_packages() {
}
return NULL;
+#elif defined(__sun)
+ return NULL;
#endif
}